mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-12 09:39:42 +00:00
Templating improvements to RA/EC stuff
This commit is contained in:
@@ -84,11 +84,7 @@
|
||||
{# Buttons #}
|
||||
<td>
|
||||
<a class="btn btn-primary" href="{% url 'ra_detail' object.pk %}">View</a>
|
||||
{% if object.reviewed_by %}
|
||||
Reviewed by <a href="{% url 'profile_detail' object.reviewed_by.pk %}">{{ object.reviewed_by }}</a> at {{ object.reviewed_at }}
|
||||
{% else %}
|
||||
<a class="btn btn-success my-2" href="{% url 'ra_review' object.pk %}">Mark Reviewed</a>
|
||||
{% endif %}
|
||||
{{ object.review_string|safe }}
|
||||
</td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
|
||||
Reference in New Issue
Block a user