Reinstate token links

This commit is contained in:
Jeremy Zhang 2017-09-04 04:12:08 +00:00
parent 0a6943bdbe
commit 85d49e4024
2 changed files with 3 additions and 5 deletions

View File

@ -68,9 +68,8 @@
<div class="card-panel indigo lighten-5 z-depth-3 hoverable black-text">
<h4>Donations!</h4>
<p class="flow-text">Would you like to support the Titan Embeds project?</p>
<!--<p>You currently have <strong>{{ session["tokens"] }}</strong> Titan Tokens.</p>
<a class="waves-effect waves-light btn" href="{{ url_for('user.donate_get') }}">Donate!!</a>-->
<a class="waves-effect waves-light btn" href="https://patreon.com/TitanEmbeds" target="_blank">Donate!!</a>
<p>You currently have <strong>{{ session["tokens"] }}</strong> Titan Tokens.</p>
<a class="waves-effect waves-light btn" href="{{ url_for('user.donate_get') }}">Donate!!</a>
</div>
</div>
</div>

View File

@ -29,8 +29,7 @@
<ul id="menu_dropdown" class="dropdown-content">
<li><a href="{{ url_for('user.dashboard') }}">Dashboard</a></li>
<li class="divider"></li>
<!--<li><a href="{{ url_for('user.donate_get') }}"><i class="material-icons">monetization_on</i></nbr>{{ session["tokens"] }}</a></li>-->
<li><a href="https://patreon.com/TitanEmbeds" target="_blank">Donate</a></li>
<li><a href="{{ url_for('user.donate_get') }}"><i class="material-icons">monetization_on</i></nbr>{{ session["tokens"] }}</a></li>
{% if session['user_id'] is defined and session['user_id'] in devs %}
<li class="divider"></li>
<li><a href="{{ url_for('admin.index') }}">Admin</a></li>