Add H&S Details to Event Detail View

This commit is contained in:
2020-06-03 15:15:23 +01:00
parent d31900c5c3
commit 9e93d895ba
3 changed files with 26 additions and 10 deletions

View File

@@ -3,16 +3,6 @@
class="fas fa-edit"></span> <span
class="hidden-xs">Edit</span></a>
{% if event.is_rig %}
{% if not event.dry_hire %}
<a href="{% url 'event_ra' event.pk %}" class="btn
{% if event.risk_assessment_edit_url %}
btn-success
{% else %}
btn-warning
{% endif %}
"><i class="fas fa-paperclip"></i> <span
class="hidden-xs">RA</span></a>
{% endif %}
<a href="{% url 'event_print' event.pk %}" target="_blank" class="btn btn-primary"><i
class="fas fa-print"></i> <span
class="hidden-xs">Print</span></a>