aboutsummaryrefslogtreecommitdiff
blob: 704ee7984f0b4011b72db02f339f1404c24cafde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% macro show_box(g) -%}
{% if g.user -%}
<ul>
<li><a href="{{ url_for('dashboard') }}">{{ g.user.email.split('@')[0] | e }}</a>
<li><a href="{{ url_for('logout') }}">Log out</a>
</ul>
{% if g.user.regtoken -%}
<span class="warning">
Warning: this user account has not yet been confirmed.<br />
Until the account has been confirmed, You won't receive
notifications and cannot add packages to your watch list.
</span>
{% endif -%}{# g.user.regtoken #}
{% endif -%}{# g.user #}
{% endmacro -%}