use new style {% url "view" %} template syntax
[mygpo.git] / mygpo / share / templates / userpage-denied.html
blob01170e4476d874701c70518179a66812f0f85653
1 {% extends "base.html" %}
2 {% load url from future %}
3 {% load i18n %}
4 {% load podcasts %}
6 {% load menu %}
7 {% block mainmenu %}{{ "/share/"|main_menu }}{% endblock %}
8 {% block sectionmenu %}{{ "/share/"|section_menu:other_user.username }}{% endblock %}
10 {% block title %}{{ other_user.username }}{% endblock %}
12 {% block header %}
13 <h1>{{ other_user.username }}</h1>
14 {% endblock %}
16 {% block content %}
17 <p>{% blocktrans with other_user.username as username %}{{ username }} didn't share his user page with you. Maybe you should contact him to get the correct link.{% endblocktrans %}</p>
19 {% if user.is_authenticated %}
20 {% url "share" as share-url %}
21 <div class="info"><strong>{% trans "Want to have your own user page?" %}</strong>{% blocktrans %} Go to your <a href="{{ share-url }}">Share Page</a> to get the link.</a>{% endblocktrans %}</div>
22 {% endif %}
24 {% endblock %}