Hide Token links and reinstate patreon links for now

This commit is contained in:
Jeremy Zhang 2017-08-14 06:31:23 +00:00
parent fc05f3dda2
commit 8d76423a82
2 changed files with 5 additions and 3 deletions

View File

@ -68,8 +68,9 @@
<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>
<!--<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>
</div>
</div>
</div>

View File

@ -29,7 +29,8 @@
<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="{{ 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>
{% 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>