Skip to content

Commit

Permalink
Pass {% url %} the correct object for URL reversal
Browse files Browse the repository at this point in the history
  • Loading branch information
brosner committed Jul 21, 2010
1 parent c223eb3 commit a74b8fe
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion docs/tabs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ logged in:
{% block right_tabs %}
{% if user.is_authenticated %}
<ul class="tabs">{% spaceless %}
<li id="tab_profile"><a href="{% url profile_detail user %}">Profile</a></li>
<li id="tab_profile"><a href="{% url profile_detail user.username %}">Profile</a></li>
<li id="tab_blogs"><a href="{% url blog_list_user %}">Blogs</a></li>
<li id="tab_bookmarks"><a href="{% url all_bookmarks %}">Bookmarks</a></li>
{% endspaceless %}</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "What Next?" %}</h1>
<dt><a href="{% url acct_email %}">verify an email address</a></dt>
<dd>so you can receive notifications, reset your password and so people can find you more easily.</dd>

<dt><a href="{% url profile_detail user %}">fill out your profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">fill out your profile</a></dt>
<dd>to tell the world a little about yourself.</dd>

{% ifsetting ACCOUNT_OPEN_SIGNUP %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "What Next?" %}</h1>
<dt><a href="{% url acct_email %}">verify an email address</a></dt>
<dd>so you can receive notifications, reset your password and so people can find you more easily.</dd>

<dt><a href="{% url profile_detail user %}">fill out your profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">fill out your profile</a></dt>
<dd>to tell the world a little about yourself.</dd>

{% ifsetting ACCOUNT_OPEN_SIGNUP %}
Expand Down
2 changes: 1 addition & 1 deletion pinax/projects/basic_project/templates/site_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% block right_tabs %}
{% if user.is_authenticated %}
<ul class="tabs">{% spaceless %}
<li id="tab_profile"><a href="{% url profile_detail user %}">{% trans "Profile" %}</a></li>
<li id="tab_profile"><a href="{% url profile_detail user.username %}">{% trans "Profile" %}</a></li>
<li id="tab_notices"><a href="{% url notification_notices %}">{% trans "Notices" %}{% if notice_unseen_count %} ({{ notice_unseen_count }}){% endif %}</a></li>
{% endspaceless %}</ul>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion pinax/projects/code_project/templates/about/what_next.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "What Next?" %}</h1>
<dt><a href="{% url acct_email %}">verify an email address</a></dt>
<dd>so you can receive notifications, reset your password and so people can find you more easily.</dd>

<dt><a href="{% url profile_detail user %}">fill out your profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">fill out your profile</a></dt>
<dd>to tell the world a little about yourself.</dd>

{% ifsetting ACCOUNT_OPEN_SIGNUP %}
Expand Down
2 changes: 1 addition & 1 deletion pinax/projects/code_project/templates/site_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% block right_tabs %}
{% if user.is_authenticated %}
<ul class="tabs">{% spaceless %}
<li id="tab_profile"><a href="{% url profile_detail user %}">{% trans "Profile" %}</a></li>
<li id="tab_profile"><a href="{% url profile_detail user.username %}">{% trans "Profile" %}</a></li>
<li id="tab_projects"><a href="{% url project_list %}">{% trans "Projects" %}</a></li>
<li id="tab_notices"><a href="{% url notification_notices %}">{% trans "Notices" %}{% if notice_unseen_count %} ({{ notice_unseen_count }}){% endif %}</a></li>
{% endspaceless %}</ul>
Expand Down
2 changes: 1 addition & 1 deletion pinax/projects/intranet_project/templates/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>{% trans "About this project" %}</h2>

<hr />
<dl class="what_next">
<dt><a href="{% url profile_detail user %}">Profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">Profile</a></dt>
<dd>to tell the company a little about yourself.</dd>

<dt><a href="{% url task_list %}">Tasks</a></dt>
Expand Down
2 changes: 1 addition & 1 deletion pinax/projects/intranet_project/templates/site_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{% block right_tabs %}
{% if user.is_authenticated %}
<ul class="tabs">{% spaceless %}
<li id="tab_profile"><a href="{% url profile_detail user %}">{% trans "Profile" %}</a></li>
<li id="tab_profile"><a href="{% url profile_detail user.username %}">{% trans "Profile" %}</a></li>
<li id="tab_topics"><a href="{% url topic_list %}">{% trans "Topics" %}</a></li>
<li id="tab_tasks"><a href="{% url task_list %}">{% trans "Tasks" %}</a></li>
<li id="tab_wiki"><a href="{% url wakawaka_index %}">{% trans "Wiki" %}</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "What Next?" %}</h1>
<dt><a href="{% url acct_email %}">verify an email address</a></dt>
<dd>so you can receive notifications, reset your password and so people can find you more easily.</dd>

<dt><a href="{% url profile_detail user %}">fill out your profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">fill out your profile</a></dt>
<dd>to tell the world a little about yourself.</dd>

{% ifsetting ACCOUNT_OPEN_SIGNUP %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "What Next?" %}</h1>
<dt><a href="{% url acct_email %}">verify an email address</a></dt>
<dd>so you can receive notifications, reset your password and so people can find you more easily.</dd>

<dt><a href="{% url profile_detail user %}">fill out your profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">fill out your profile</a></dt>
<dd>to tell the world a little about yourself.</dd>

{% ifsetting ACCOUNT_OPEN_SIGNUP %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% block right_tabs %}
{% if user.is_authenticated %}
<ul class="tabs">{% spaceless %}
<li id="tab_profile"><a href="{% url profile_detail user %}">{% trans "Profile" %}</a></li>
<li id="tab_profile"><a href="{% url profile_detail user.username %}">{% trans "Profile" %}</a></li>
<li id="tab_groups"><a href="{% url group_list %}">{% trans "Groups" %}</a></li>
<li id="tab_tribes"><a href="{% url tribe_list %}">{% trans "Tribes" %}</a></li>
<li id="tab_projects"><a href="{% url project_list %}">{% trans "Project" %}</a></li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "What Next?" %}</h1>
<dt><a href="{% url acct_email %}">verify an email address</a></dt>
<dd>so you can receive notifications, reset your password and so people can find you more easily.</dd>

<dt><a href="{% url profile_detail user %}">fill out your profile</a></dt>
<dt><a href="{% url profile_detail user.username %}">fill out your profile</a></dt>
<dd>to tell the world a little about yourself.</dd>

<dt><a href="{% url avatar_change %}">add an avatar</a></dt>
Expand Down
2 changes: 1 addition & 1 deletion pinax/projects/social_project/templates/site_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{% block right_tabs %}
{% if user.is_authenticated %}
<ul class="tabs">{% spaceless %}
<li id="tab_profile"><a href="{% url profile_detail user %}">{% trans "Profile" %}</a></li>
<li id="tab_profile"><a href="{% url profile_detail user.username %}">{% trans "Profile" %}</a></li>
<li id="tab_photos"><a href="{% url photos %}">{% trans "Photos" %}</a></li>
<li id="tab_blogs"><a href="{% url blog_list_all %}">{% trans "Blogs" %}</a></li>
<li id="tab_tribes"><a href="{% url tribe_list %}">{% trans "Tribes" %}</a></li>
Expand Down

0 comments on commit a74b8fe

Please sign in to comment.