Clean up the display of 'Sign In' and version number when rendering the base template without context (which is the case for the 500 server error template).
- Legacy-Id: 3513
This commit is contained in:
parent
c89f9207b9
commit
0787ef485a
|
@ -60,11 +60,13 @@ IETF.user_groups = { {% for group in user.groups.all %}"{{group}}":true{% if not
|
|||
<img src="/images/ietflogo-blue-small.png" width="60" height="34" style="vertical-align:middle;padding-left:8px;" alt=""/><span style="padding-left:15px;font-weight:bold;letter-spacing:0.1em;">datatracker.ietf.org {% if server_mode %}{% ifnotequal server_mode "production" %} - {{ server_mode|upper}} MODE{% endifnotequal %}{% endif %}</span>
|
||||
</div>
|
||||
|
||||
{% if user %}
|
||||
<div id="ietf-login" class="noprint">{% if user.is_authenticated %}
|
||||
{{ user }}
|
||||
{% else %}
|
||||
<a href="https://datatracker.ietf.org/accounts/login/?next={{request.get_full_path|urlencode}}" rel="nofollow">Sign In</a>
|
||||
{% endif %}</div>
|
||||
{% endif %}
|
||||
|
||||
<table style="margin-left:8px;margin-top:8px;" width="98%;">
|
||||
<tr valign="top">
|
||||
|
@ -73,8 +75,10 @@ IETF.user_groups = { {% for group in user.groups.all %}"{{group}}":true{% if not
|
|||
{% include "base_leftmenu.html" %}
|
||||
</div>
|
||||
<div style="width: 100%; text-align: center; padding-top:4px;font-size:69%;">
|
||||
{% if version_num %}
|
||||
Version {{ version_num }}, {{revision_date}}
|
||||
<br/>
|
||||
{% endif %}
|
||||
<a href="http://tools.ietf.org/tools/ietfdb/newticket">Report a bug</a>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue