fix(dgsi/archives): Use the correct url for statutes and bylaws
This commit is contained in:
parent
01be28a69c
commit
fe7bdf5a20
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
{% for file in document_list %}
|
||||
<a class="button bt-archive"
|
||||
href="{% url "dgsi:dgn-protected-archive" file.pk %}">
|
||||
{% if file.kind == "statutes" or file.kind == "bylaws" %} href="{{ file.file.url }}" {% else %} href="{% url "dgsi:dgn-protected-archive" file.pk %}" {% endif %}>
|
||||
<span class="tag is-{{ file.color }} is-pulled-left">
|
||||
<span class="icon"><i class="ti ti-{{ file.icon }}"></i></span>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Reference in a new issue