Skip to content

Commit

Permalink
added "Result" field to Library and to the library_list page, KRONOS-47.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtaghiyar committed Feb 2, 2017
1 parent cfe9e58 commit e266788
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions apps/core/templates/core/library_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h4 style="float:left;">Select a library to view its details</h4>
<th>Library Location</th>
<th>#Sublibraries</th>
<th>Sequenced</th>
<th>Result</th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -52,6 +53,7 @@ <h4 style="float:left;">Select a library to view its details</h4>
<p style="float:right;"><a style="margin-right:2px;" href="{% url 'core:library_update' pk=library.pk %}"><i class="fa fa-pencil" aria-hidden="true" style="color:orange;" "></i> edit</a>
<a href="{% url 'core:library_delete' pk=library.pk %}"><i class="icon-remove-sign" style="color:red"></i> delete</a></p>
</td> -->
<td>{{library.result}}</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit e266788

Please sign in to comment.