Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion control/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,22 @@
</ul>
</div>
</nav>
<main role="main" class="container flex-shrink-0 my-4">
<div class="container flex-shrink-0 mt-4">
{%- if member is defined and member.user and not member.contactable %}
<div class="alert alert-warning">
<i class="fa fa-envelope-o"></i>
<strong>We don't have a working email address for you.</strong> To avoid your account being suspended, please ensure your <a href="{{ url_for("member.home") }}">membership contact address</a> is correct.
</div>
{%- endif %}
{%- set ecrsid = effective_crsid() %}
{%- if auth.principal != ecrsid %}
<div class="alert alert-danger">
<i class="fa fa-user-secret"></i>
Hello <strong>{{ auth.principal }}</strong>. You are currently impersonating <strong>{{ ecrsid }}</strong>.
</div>
{%- endif %}
</div>
<main role="main" class="container flex-shrink-0 mb-4">
{%- if page_title is defined %}
<h2>
{%- if page_parent is defined %}
Expand Down