From 17648a840f108022d5bb5f6821d25e92a4e3444e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Madis=20M=C3=A4gi?= Date: Tue, 22 Oct 2024 21:08:17 +0300 Subject: [PATCH] Rename issue tracker field to external link --- inventory-app/inventory.py | 2 +- inventory-app/templates/inventory_edit.html | 4 ++-- inventory-app/templates/inventory_view.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inventory-app/inventory.py b/inventory-app/inventory.py index f035475..dc26fc8 100644 --- a/inventory-app/inventory.py +++ b/inventory-app/inventory.py @@ -134,7 +134,7 @@ class ShortenerForm(Form): class InventoryItemForm(CustomForm): type = SelectField("Type", choices=fetch_type_select()) name = StringField('Name') - issue_tracker = StringField('Issue Tracker') + external_link = StringField('External link') comment = StringField('Comment') inventory = FormField(InventoryForm) hardware = FormField(HardwareForm) diff --git a/inventory-app/templates/inventory_edit.html b/inventory-app/templates/inventory_edit.html index 3562f15..e1e7e02 100644 --- a/inventory-app/templates/inventory_edit.html +++ b/inventory-app/templates/inventory_edit.html @@ -83,8 +83,8 @@ - Issue Tracker - {{ form.issue_tracker }} + External link + {{ form.external_link }} diff --git a/inventory-app/templates/inventory_view.html b/inventory-app/templates/inventory_view.html index df6ea35..31a86e1 100644 --- a/inventory-app/templates/inventory_view.html +++ b/inventory-app/templates/inventory_view.html @@ -115,8 +115,8 @@ - Issue tracker - Issue tracker + External link + External link