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:
Lars Eggert 2022-04-26 20:30:21 +03:00 committed by GitHub
parent 9db1d48258
commit 53a2b61bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 23 deletions

View file

@ -122,33 +122,35 @@
<a href="https://www.rfc-editor.org/" class="p-3">RFC&nbsp;Editor</a>
<a href="https://www.iana.org/" class="p-3">IANA</a>
<a href="https://www.ietf.org/privacy-statement/" class="p-3">Privacy&nbsp;Statement</a>
<div class="small text-muted p-3">
<div class="small text-muted py-3">
{% if version_num %}
<a href="/release/about">About</a>
<a href="https://github.com/ietf-tools/datatracker/">IETF Datatracker</a>
{% 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>
{% else %}
<a class="mx-2" href="/release/about">About IETF Datatracker</a>
<span class="mx-2">
{% if server_mode and server_mode == "production" %}
<a href="https://github.com/ietf-tools/datatracker/releases/tag/{{version_num}}">
{% 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 %}
Report a bug:
<a href="https://github.com/ietf-tools/datatracker/issues/new/choose">
GitHub
<span class="mx-2 text-danger">
<i class="bi bi-bug"></i>
</a>
{% if bugreport_email %}
<a href="mailto:{{ bugreport_email }}">
Email
<i class="bi bi-envelope"></i>
</a>
Report a bug:
<a class="text-reset" href="https://github.com/ietf-tools/datatracker/issues/new/choose">GitHub</a>
{% if bugreport_email %}
<a class="text-reset" href="mailto:{{ bugreport_email }}">Email</a>
{% endif %}
</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 %}
<br>
{% if python_version %}Python {{ python_version }}{% endif %}
{% if django_version %}Django {{ django_version }}{% endif %}
<br>
{% include "debug.html" %}
</div>
</footer>
{% endblock %}

View file

@ -407,7 +407,7 @@
</li>
{% endif %}
<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">
<i class="bi bi-bug">
</i>