datatracker/ietf/templates/meeting/edit_materials_button.html
Lars Eggert bbf088e18b Hopefully the final check-ins.
- Legacy-Id: 19909
2022-02-08 17:29:15 +00:00

13 lines
798 B
HTML

{% load ietf_filters session_filters origin %}
{% if not session.past_cutoff_date %}
{% origin %}
{% with gt=session.group.type_id %}
{%comment%}
<a class="btn btn-primary btn-sm"
href="{% url 'ietf.meeting.views.session_details' num=session.meeting.number acronym=session.group.acronym %}{% if gt == 'wg' or gt == 'rg' or gt == 'ag' %}{% else %}#session_{{session.pk}}{% endif %}">Edit</a>
{% endcomment %}
<a class="btn btn-primary btn-sm" href="{% url 'ietf.meeting.views.session_details' num=session.meeting.number acronym=session.group.acronym %}{% if gt == 'wg' or gt == 'rg' or gt == 'ag' or gt == 'rag' %}{% else %}#session_{{ session.pk }}{% endif %}">
Edit materials
</a>
{% endwith %}
{% endif %}