From e266788b1641106bda3550ffa7a1c77772301ab4 Mon Sep 17 00:00:00 2001 From: jtaghiyar Date: Wed, 1 Feb 2017 16:17:49 -0800 Subject: [PATCH] added "Result" field to Library and to the library_list page, KRONOS-47. --- apps/core/models.py | 1 + apps/core/templates/core/library_list.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apps/core/models.py b/apps/core/models.py index 0cdb1a7..b51fc15 100644 --- a/apps/core/models.py +++ b/apps/core/models.py @@ -274,6 +274,7 @@ class Meta: jira_ticket = create_chrfield("Jira ticket", blank=False) num_sublibraries = create_intfield("Number of sublibraries", default=0) description = create_textfield("Description") + result = create_textfield("Result") relates_to = models.ManyToManyField( "self", verbose_name="Relates to", diff --git a/apps/core/templates/core/library_list.html b/apps/core/templates/core/library_list.html index aeb0768..5e9d8bb 100644 --- a/apps/core/templates/core/library_list.html +++ b/apps/core/templates/core/library_list.html @@ -23,6 +23,7 @@

Select a library to view its details

Library Location #Sublibraries Sequenced + Result @@ -52,6 +53,7 @@

Select a library to view its details

edit delete

--> + {{library.result}} {% endfor %}