Added session anchors and a necessary style class to group names in the meeting materials page, to permit linking to specific WG names. Fixes issue #1743.

- Legacy-Id: 9708
This commit is contained in:
Henrik Levkowetz 2015-07-09 13:13:14 +00:00
parent 494af99d9a
commit 0168083804
2 changed files with 4 additions and 3 deletions

View file

@ -8,9 +8,9 @@
<a name="session.group-{{ session.group.acronym }}"></a> <a name="session.group-{{ session.group.acronym }}"></a>
{% endcomment %} {% endcomment %}
{% if session.name %} {% if session.name %}
{{ session.name }} <div class="anchor-target" id="{{ session.name }}">{{ session.name }}</div>
{% else %} {% else %}
{{session.group.acronym}} <div class="anchor-target" id="{{session.group.acronym}}">{{session.group.acronym}}</div>
{% if session.group.state.slug == "bof" %} {% if session.group.state.slug == "bof" %}
<span class="label label-success">{{ session.group.state.slug|upper }}</span> <span class="label label-success">{{ session.group.state.slug|upper }}</span>
{% endif %} {% endif %}

View file

@ -100,7 +100,8 @@ body { padding-top: 70px; }
to work around the position fixed navbar which otherwise covers them */ to work around the position fixed navbar which otherwise covers them */
h2.anchor-target:before, h2.anchor-target:before,
h3.anchor-target:before, h3.anchor-target:before,
h4.anchor-target:before { h4.anchor-target:before,
div.anchor-target:before {
content: ''; content: '';
display: block; display: block;
position: relative; position: relative;