aboutsummaryrefslogtreecommitdiff
blob: 7f5ac0e84a5fc689a14deef673a1fcf9c16b8db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% 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('account') }}">Account</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 -%}