Added individual session icalendar links on the group materials pages.

- Legacy-Id: 14746
This commit is contained in:
Henrik Levkowetz 2018-03-08 18:38:25 +00:00
parent 2fd344f810
commit 1c7beb831f
3 changed files with 12 additions and 2 deletions

View file

@ -450,6 +450,8 @@ h1 small .pull-right { margin-top: 10.5px; }
/* from bootstrap: .small { font-size: 84%; } */
.tiny { font-size: 70%; }
h1 .regular.pull-right { font-size: 50%; margin-top: 10.5px ; }
h2 .regular.pull-right { font-size: 57.6%; margin-top: 7.5px; }
.large {font-size: 120%;}
.llarge {font-size: 144%;}

View file

@ -12,7 +12,13 @@
{% block content %}
{% origin %}
<h1>{{ meeting }} : {{ acronym }}</h1>
<h1>{{ meeting }} : {{ acronym }}
<a class="regular pull-right" title="icalendar entry for {{acronym}}@{{meeting.number}}" href="{% url 'ietf.meeting.views.ical_agenda' num=meeting.number acronym=acronym %}"><span class="fa fa-calendar"></span></a>
</h1>
{% with use_panels=unscheduled_sessions %}
{% if use_panels %}

View file

@ -1,7 +1,9 @@
{% load origin ietf_filters %}{% origin %}
{% for session in sessions %}
<h2 class="anchor-target" id="session_{{session.pk}}">{% if sessions|length > 1 %}Session {{ forloop.counter }} : {% endif %}{{ session.time }}{% if session.name %} : {{ session.name }}{% endif %}</h2>
<h2 class="anchor-target" id="session_{{session.pk}}">{% if sessions|length > 1 %}Session {{ forloop.counter }} : {% endif %}{{ session.time }}{% if session.name %} : {{ session.name }}{% endif %}
<a class="regular pull-right" title="icalendar entry for {{acronym}} session {{ forloop.counter }}" href="{% url 'ietf.meeting.views.ical_agenda' num=meeting.number session_id=session.id %}"><span class="fa fa-calendar"></span></a>
</h2>
{% if session.agenda_note %}<h3>{{session.agenda_note}}</h3>{% endif %}
{% if can_manage_materials %}