datatracker/ietf/templates/doc/document_top.html
Ole Laursen 7462ade959 Summary: Cleanup markup for navtabs a little, use CSS to add margin
instead of empty paragraph
 - Legacy-Id: 8919
2015-01-26 16:32:56 +00:00

12 lines
421 B
HTML

{% load ietf_filters %}
<h1>{{ doc.title }}<br><small>{{ name }}</small></h1>
<ul class="nav nav-tabs" role="tablist">
{% for name, t, url, active, tooltip in tabs %}
<li {% if tooltip %}title="{{tooltip}}"{% endif %} class="{% if t == selected %}active {% endif %}{% if not active %}disabled {% endif %}">
<a {% if active %}href="{{ url }}"{% endif %}>{{ name|capfirst_allcaps }}</a>
</li>
{% endfor %}
</ul>