Skip to content

Commit 53a2b61

Browse files
larseggertNGPixel
andauthored
feat: Make the "report a bug" links more visible (ietf-tools#3883)
* feat: Make the "report a bug" links more visible Also rework the page footer somewhat, while we're here. * Revert empty change Co-authored-by: Nicolas Giard <github@ngpixel.com>
1 parent 9db1d48 commit 53a2b61

2 files changed

Lines changed: 25 additions & 23 deletions

File tree

ietf/templates/base.html

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -122,33 +122,35 @@
122122
<a href="https://www.rfc-editor.org/" class="p-3">RFC&nbsp;Editor</a>
123123
<a href="https://www.iana.org/" class="p-3">IANA</a>
124124
<a href="https://www.ietf.org/privacy-statement/" class="p-3">Privacy&nbsp;Statement</a>
125-
<div class="small text-muted p-3">
125+
<div class="small text-muted py-3">
126126
{% if version_num %}
127-
<a href="/release/about">About</a>
128-
<a href="https://github.com/ietf-tools/datatracker/">IETF Datatracker</a>
129-
{% if server_mode and server_mode == "production" %}
130-
<a href="https://github.com/ietf-tools/datatracker/releases/tag/{{version_num}}">Version {{ version_num }}{% if patch %}{{patch}}{% endif %}</a>
131-
{% else %}
127+
<a class="mx-2" href="/release/about">About IETF Datatracker</a>
128+
<span class="mx-2">
129+
{% if server_mode and server_mode == "production" %}
130+
<a href="https://github.com/ietf-tools/datatracker/releases/tag/{{version_num}}">
131+
{% endif %}
132132
Version {{ version_num }}{% if patch %}{{patch}}{% endif %}
133-
{% endif %}
134-
{% if branch %}({{ branch }} - {{ git_hash|slice:":7" }}){% endif %}
133+
{% if branch %}({{ branch }} - {{ git_hash|slice:":7" }}){% endif %}
134+
{% if server_mode and server_mode == "production" %}
135+
</a>
136+
{% endif %}
137+
</span>
135138
{% endif %}
136-
Report a bug:
137-
<a href="https://github.com/ietf-tools/datatracker/issues/new/choose">
138-
GitHub
139+
<span class="mx-2 text-danger">
139140
<i class="bi bi-bug"></i>
140-
</a>
141-
{% if bugreport_email %}
142-
<a href="mailto:{{ bugreport_email }}">
143-
Email
144-
<i class="bi bi-envelope"></i>
145-
</a>
141+
Report a bug:
142+
<a class="text-reset" href="https://github.com/ietf-tools/datatracker/issues/new/choose">GitHub</a>
143+
{% if bugreport_email %}
144+
<a class="text-reset" href="mailto:{{ bugreport_email }}">Email</a>
145+
{% endif %}
146+
</span>
147+
{% if server_mode and server_mode != "production" %}
148+
<br>
149+
{% if python_version %}Python {{ python_version }}{% endif %}
150+
{% if django_version %}Django {{ django_version }}{% endif %}
151+
<br>
152+
{% include "debug.html" %}
146153
{% endif %}
147-
<br>
148-
{% if python_version %}Python {{ python_version }}{% endif %}
149-
{% if django_version %}Django {{ django_version }}{% endif %}
150-
<br>
151-
{% include "debug.html" %}
152154
</div>
153155
</footer>
154156
{% endblock %}

ietf/templates/base/menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@
407407
</li>
408408
{% endif %}
409409
<li>
410-
<a class="dropdown-item {% if flavor != 'top' %}text-wrap link-primary{% endif %}"
410+
<a class="dropdown-item text-danger {% if flavor != 'top' %}text-wrap link-primary{% endif %}"
411411
href="https://github.com/ietf-tools/datatracker/issues/new/choose">
412412
<i class="bi bi-bug">
413413
</i>

0 commit comments

Comments
 (0)