feat: Make the "report a bug" links more visible (#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>
This commit is contained in:
parent
9db1d48258
commit
53a2b61bbc
|
@ -122,33 +122,35 @@
|
||||||
<a href="https://www.rfc-editor.org/" class="p-3">RFC Editor</a>
|
<a href="https://www.rfc-editor.org/" class="p-3">RFC Editor</a>
|
||||||
<a href="https://www.iana.org/" class="p-3">IANA</a>
|
<a href="https://www.iana.org/" class="p-3">IANA</a>
|
||||||
<a href="https://www.ietf.org/privacy-statement/" class="p-3">Privacy Statement</a>
|
<a href="https://www.ietf.org/privacy-statement/" class="p-3">Privacy Statement</a>
|
||||||
<div class="small text-muted p-3">
|
<div class="small text-muted py-3">
|
||||||
{% if version_num %}
|
{% if version_num %}
|
||||||
<a href="/release/about">About</a>
|
<a class="mx-2" href="/release/about">About IETF Datatracker</a>
|
||||||
<a href="https://github.com/ietf-tools/datatracker/">IETF Datatracker</a>
|
<span class="mx-2">
|
||||||
{% if server_mode and server_mode == "production" %}
|
{% if server_mode and server_mode == "production" %}
|
||||||
<a href="https://github.com/ietf-tools/datatracker/releases/tag/{{version_num}}">Version {{ version_num }}{% if patch %}{{patch}}{% endif %}</a>
|
<a href="https://github.com/ietf-tools/datatracker/releases/tag/{{version_num}}">
|
||||||
{% else %}
|
{% endif %}
|
||||||
Version {{ version_num }}{% if patch %}{{patch}}{% endif %}
|
Version {{ version_num }}{% if patch %}{{patch}}{% endif %}
|
||||||
{% endif %}
|
{% if branch %}({{ branch }} - {{ git_hash|slice:":7" }}){% endif %}
|
||||||
{% if branch %}({{ branch }} - {{ git_hash|slice:":7" }}){% endif %}
|
{% if server_mode and server_mode == "production" %}
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Report a bug:
|
<span class="mx-2 text-danger">
|
||||||
<a href="https://github.com/ietf-tools/datatracker/issues/new/choose">
|
|
||||||
GitHub
|
|
||||||
<i class="bi bi-bug"></i>
|
<i class="bi bi-bug"></i>
|
||||||
</a>
|
Report a bug:
|
||||||
{% if bugreport_email %}
|
<a class="text-reset" href="https://github.com/ietf-tools/datatracker/issues/new/choose">GitHub</a>
|
||||||
<a href="mailto:{{ bugreport_email }}">
|
{% if bugreport_email %}
|
||||||
Email
|
<a class="text-reset" href="mailto:{{ bugreport_email }}">Email</a>
|
||||||
<i class="bi bi-envelope"></i>
|
{% endif %}
|
||||||
</a>
|
</span>
|
||||||
|
{% if server_mode and server_mode != "production" %}
|
||||||
|
<br>
|
||||||
|
{% if python_version %}Python {{ python_version }}{% endif %}
|
||||||
|
{% if django_version %}Django {{ django_version }}{% endif %}
|
||||||
|
<br>
|
||||||
|
{% include "debug.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br>
|
|
||||||
{% if python_version %}Python {{ python_version }}{% endif %}
|
|
||||||
{% if django_version %}Django {{ django_version }}{% endif %}
|
|
||||||
<br>
|
|
||||||
{% include "debug.html" %}
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -407,7 +407,7 @@
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
<a class="dropdown-item {% if flavor != 'top' %}text-wrap link-primary{% endif %}"
|
<a class="dropdown-item text-danger {% if flavor != 'top' %}text-wrap link-primary{% endif %}"
|
||||||
href="https://github.com/ietf-tools/datatracker/issues/new/choose">
|
href="https://github.com/ietf-tools/datatracker/issues/new/choose">
|
||||||
<i class="bi bi-bug">
|
<i class="bi bi-bug">
|
||||||
</i>
|
</i>
|
||||||
|
|
Loading…
Reference in a new issue