From 53a2b61bbcaa6fd541505cdf0ead0efe8457ec71 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Tue, 26 Apr 2022 20:30:21 +0300 Subject: [PATCH] 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 --- ietf/templates/base.html | 46 ++++++++++++++++++----------------- ietf/templates/base/menu.html | 2 +- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/ietf/templates/base.html b/ietf/templates/base.html index ea6a3b60d..9d4be9d7e 100644 --- a/ietf/templates/base.html +++ b/ietf/templates/base.html @@ -122,33 +122,35 @@ RFC Editor IANA Privacy Statement -
+
{% if version_num %} - About - IETF Datatracker - {% if server_mode and server_mode == "production" %} - Version {{ version_num }}{% if patch %}{{patch}}{% endif %} - {% else %} + About IETF Datatracker + + {% if server_mode and server_mode == "production" %} + + {% 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" %} + + {% endif %} + {% endif %} - Report a bug: - - GitHub + - - {% if bugreport_email %} - - Email - - + Report a bug: + GitHub + {% if bugreport_email %} + Email + {% endif %} + + {% if server_mode and server_mode != "production" %} +
+ {% if python_version %}Python {{ python_version }}{% endif %} + {% if django_version %}Django {{ django_version }}{% endif %} +
+ {% include "debug.html" %} {% endif %} -
- {% if python_version %}Python {{ python_version }}{% endif %} - {% if django_version %}Django {{ django_version }}{% endif %} -
- {% include "debug.html" %}
{% endblock %} diff --git a/ietf/templates/base/menu.html b/ietf/templates/base/menu.html index 347f5b87d..33a1cda0a 100644 --- a/ietf/templates/base/menu.html +++ b/ietf/templates/base/menu.html @@ -407,7 +407,7 @@ {% endif %}
  • -