Skip to content

Commit ad7c88b

Browse files
Chimpkillerrhoit
authored andcommitted
attendees - read Added a admin_content block
1 parent 1822cad commit ad7c88b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

srv/templates/attendees/read.djhtml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
{% endblock %}
2222

2323

24+
{% block admin_content %}
2425
<strong>Metadata</strong>
2526
<div class="info-table">
2627
{% for key, value in metaData.items() %}
@@ -30,9 +31,8 @@
3031
</div>
3132
{% endfor %}
3233
</div>
33-
{% if row.receiptPath %}
34-
{% set filename = row.receiptPath.split('/')[-1] %}
35-
<a href="{{ url_for('files_srv_receipt', filename=filename) }}" download>Download Receipt</a>
36-
{% endif %}
37-
</div>
34+
{% if row.receiptPath %}
35+
{% set filename = row.receiptPath.split('/')[-1] %}
36+
<a href="{{ url_for('files_srv_receipt', filename=filename) }}" download>Download Receipt</a>
37+
{% endif %}
3838
{% endblock %}

0 commit comments

Comments
 (0)