Skip to content

Commit 0168083

Browse files
committed
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 ietf-tools#1743.
- Legacy-Id: 9708
1 parent 494af99 commit 0168083

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

ietf/templates/meeting/group_materials.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
<a name="session.group-{{ session.group.acronym }}"></a>
99
{% endcomment %}
1010
{% if session.name %}
11-
{{ session.name }}
11+
<div class="anchor-target" id="{{ session.name }}">{{ session.name }}</div>
1212
{% else %}
13-
{{session.group.acronym}}
13+
<div class="anchor-target" id="{{session.group.acronym}}">{{session.group.acronym}}</div>
1414
{% if session.group.state.slug == "bof" %}
1515
<span class="label label-success">{{ session.group.state.slug|upper }}</span>
1616
{% endif %}

static/css/ietf.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ body { padding-top: 70px; }
100100
to work around the position fixed navbar which otherwise covers them */
101101
h2.anchor-target:before,
102102
h3.anchor-target:before,
103-
h4.anchor-target:before {
103+
h4.anchor-target:before,
104+
div.anchor-target:before {
104105
content: '';
105106
display: block;
106107
position: relative;

0 commit comments

Comments
 (0)