1
1
Fork 0

Links from management + megahack 😂

dev
Jan Kužílek 5 years ago
parent 5e3f8e9a55
commit ba1ea2d267

@ -32,7 +32,7 @@
<a href="{{ url_for('auth.login') }}">Login</a> <a href="{{ url_for('auth.login') }}">Login</a>
<a href="{{ url_for('auth.register') }}">Register</a> <a href="{{ url_for('auth.register') }}">Register</a>
{% else %} {% else %}
<a href="{{ url_for('user.profile', username=current_user.username) }}">Profile</a> <a href="{{ url_for('user.profile', username=current_user.username).replace('%40','@') }}">Profile</a>
<a href="{{ url_for('user.settings') }}">Settings</a> <a href="{{ url_for('user.settings') }}">Settings</a>
<a href="{{ url_for('auth.logout') }}">Log out</a> <a href="{{ url_for('auth.logout') }}">Log out</a>
{% endif%} {% endif%}

@ -25,7 +25,7 @@
{% endcall %} {% endcall %}
{% call genfield() %} {% call genfield() %}
<pre style="margin: 0;">{{ element.md5[:7] }}</pre> <a href="{{ url_for('post.post_show', id=element.id) }}"><pre style="margin: 0;">{{ element.md5[:7] }}</pre></a>
{% endcall %} {% endcall %}
{% call genfield(element.editform.rating) %} {% call genfield(element.editform.rating) %}

@ -27,7 +27,7 @@
{#{% call genfield(element.editform.username) %}#} {#{% call genfield(element.editform.username) %}#}
{% call genfield() %} {% call genfield() %}
{{ element.username }} <a href="{{ url_for('user.profile', username=element.username).replace('%40','@') }}">{{ element.username }}</a>
{% endcall %} {% endcall %}
{% call genfield(element.editform.email) %} {% call genfield(element.editform.email) %}

Loading…
Cancel
Save