mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix typo in new / edit part forms ("extenel URL")
Capitalisation consistency in "Create New Part" form title
This commit is contained in:
parent
9ed787b4da
commit
8bf281e153
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -562,7 +562,7 @@ class Part(MPTTModel):
|
|||||||
|
|
||||||
revision = models.CharField(max_length=100, blank=True, null=True, help_text=_('Part revision or version number'))
|
revision = models.CharField(max_length=100, blank=True, null=True, help_text=_('Part revision or version number'))
|
||||||
|
|
||||||
link = InvenTreeURLField(blank=True, null=True, help_text=_('Link to extenal URL'))
|
link = InvenTreeURLField(blank=True, null=True, help_text=_('Link to external URL'))
|
||||||
|
|
||||||
image = StdImageField(
|
image = StdImageField(
|
||||||
upload_to=rename_part_image,
|
upload_to=rename_part_image,
|
||||||
|
@ -510,7 +510,7 @@ class PartCreate(AjaxCreateView):
|
|||||||
model = Part
|
model = Part
|
||||||
form_class = part_forms.EditPartForm
|
form_class = part_forms.EditPartForm
|
||||||
|
|
||||||
ajax_form_title = _('Create new part')
|
ajax_form_title = _('Create New Part')
|
||||||
ajax_template_name = 'part/create_part.html'
|
ajax_template_name = 'part/create_part.html'
|
||||||
|
|
||||||
role_required = 'part.add'
|
role_required = 'part.add'
|
||||||
|
Loading…
Reference in New Issue
Block a user