Fix typo in new / edit part forms ("extenel URL")

Capitalisation consistency in "Create New Part" form title
This commit is contained in:
James Newlands 2020-10-27 14:52:31 +11:00
parent 9ed787b4da
commit 8bf281e153
6 changed files with 4229 additions and 4136 deletions

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

View File

@ -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,

View File

@ -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'