Skip to content
Snippets Groups Projects
Commit 446ddc77 authored by Carlos Vega's avatar Carlos Vega
Browse files

Issue #246 used new vouchers and voucher_types study properties from the extended context

parent 20c39d1b
No related branches found
No related tags found
1 merge request!174Bug/hide vouchers if not set in study
Pipeline #7055 passed
......@@ -66,12 +66,14 @@
</a>
</li>
{% if has_vouchers %}
<li data-desc="vouchers">
<a href="{% url 'web.views.vouchers' %}">
<i class="fa fa-user-md"></i>
<span>Vouchers</span>
</a>
</li>
{% endif %}
<li data-desc="configuration" class="treeview">
<a href="#">
......@@ -83,8 +85,12 @@
<ul class="treeview-menu">
<li><a href="{% url 'web.views.configuration' %}">General</a></li>
<li><a href="{% url 'web.views.languages' %}">Languages</a></li>
{% if has_voucher_types %}
<li><a href="{% url 'web.views.voucher_types' %}">Voucher types</a></li>
{% endif %}
{% if has_vouchers %}
<li><a href="{% url 'web.views.workers' 'VOUCHER_PARTNER' %}">Voucher partners</a></li>
{% endif %}
<li><a href="{% url 'web.views.workers' 'HEALTH_PARTNER' %}">Health partners</a></li>
<li><a href="{% url 'web.views.edit_study' study_id %}">Study</a></li>
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment