Changeset 538:1e065a9e98d2
- Timestamp:
- May 9, 2013 10:20:26 PM (2 weeks ago)
- Bookmarks:
- master
- Branch:
- default
- Tags:
- tip
- Location:
- djangobb_forum/templates/djangobb_forum
- Files:
-
- 23 edited
-
add_topic.html (modified) (1 diff)
-
base.html (modified) (2 diffs)
-
delete_posts.html (modified) (2 diffs)
-
edit_post.html (modified) (1 diff)
-
forum.html (modified) (5 diffs)
-
forum_row.html (modified) (1 diff)
-
header.html (modified) (4 diffs)
-
includes/post_in_search_page.html (modified) (1 diff)
-
index.html (modified) (1 diff)
-
lofi/forum.html (modified) (1 diff)
-
lofi/header.html (modified) (1 diff)
-
lofi/index.html (modified) (2 diffs)
-
lofi/topic.html (modified) (1 diff)
-
moderate.html (modified) (1 diff)
-
move_topic.html (modified) (1 diff)
-
profile/profile_essentials.html (modified) (3 diffs)
-
profile/profile_menu.html (modified) (1 diff)
-
profile/profile_personality.html (modified) (1 diff)
-
reputation.html (modified) (1 diff)
-
reputation_form.html (modified) (1 diff)
-
search_posts.html (modified) (1 diff)
-
topic.html (modified) (7 diffs)
-
user.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
djangobb_forum/templates/djangobb_forum/add_topic.html
r492 r538 7 7 <div class="inbox"> 8 8 {% if forum %} 9 <ul class="start"><li><a href="{% url djangobb:index%}">{% trans "Root" %}</a> </li><li>» {% link forum %}</li></ul>9 <ul class="start"><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a> </li><li>» {% link forum %}</li></ul> 10 10 {% else %} 11 <ul><li><a href="{% url djangobb:index%}">{% trans "Root" %}</a> </li><li>» {% link topic.forum %}</li><li>» {{ topic }}</li></ul>11 <ul><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a> </li><li>» {% link topic.forum %}</li><li>» {{ topic }}</li></ul> 12 12 {% endif %} 13 13 <div class="clearer"></div> -
djangobb_forum/templates/djangobb_forum/base.html
r488 r538 12 12 {% set_theme_style request.user %} 13 13 14 <link rel="alternate" type="application/atom+xml" href="{% url djangobb:forum_posts_feed%}" title="{% trans "Latest posts on forum" %}" />15 <link rel="alternate" type="application/atom+xml" href="{% url djangobb:forum_topics_feed%}" title="{% trans "Latest topics on forum" %}" />14 <link rel="alternate" type="application/atom+xml" href="{% url 'djangobb:forum_posts_feed' %}" title="{% trans "Latest posts on forum" %}" /> 15 <link rel="alternate" type="application/atom+xml" href="{% url 'djangobb:forum_topics_feed' %}" title="{% trans "Latest topics on forum" %}" /> 16 16 17 17 <link rel="shortcut icon" href="{{ STATIC_URL }}djangobb_forum/favicon.png" type="image/png" /> 18 18 <script type="text/javascript"> 19 19 var STATIC_URL = "{{ STATIC_URL }}"; 20 var POST_PREVIEW_URL = "{% url djangobb:post_preview%}";20 var POST_PREVIEW_URL = "{% url 'djangobb:post_preview' %}"; 21 21 </script> 22 22 {% if DEBUG %} … … 82 82 <dl id="searchlinks" class="conl"> 83 83 <dt><strong>{% trans "Search links" %}</strong></dt> 84 <dd><a href="{% url djangobb:search%}?action=show_24h">{% trans "Show recent posts" %}</a></dd>85 <dd><a href="{% url djangobb:search%}?action=show_unanswered">{% trans "Show unanswered posts" %}</a></dd>84 <dd><a href="{% url 'djangobb:search' %}?action=show_24h">{% trans "Show recent posts" %}</a></dd> 85 <dd><a href="{% url 'djangobb:search' %}?action=show_unanswered">{% trans "Show unanswered posts" %}</a></dd> 86 86 {% if user.is_authenticated %} 87 <dd><a href="{% url djangobb:search%}?action=show_subscriptions">{% trans "Show your subscribed topics" %}</a></dd>88 <dd>{% trans "Show your" %} <a href="{% url djangobb:search %}?action=show_user&show_as=topics">{% trans "topics" %}</a>/<a href="{% url djangobb:search%}?action=show_user&show_as=posts">{% trans "posts" %}</a></dd>87 <dd><a href="{% url 'djangobb:search' %}?action=show_subscriptions">{% trans "Show your subscribed topics" %}</a></dd> 88 <dd>{% trans "Show your" %} <a href="{% url 'djangobb:search' %}?action=show_user&show_as=topics">{% trans "topics" %}</a>/<a href="{% url 'djangobb:search' %}?action=show_user&show_as=posts">{% trans "posts" %}</a></dd> 89 89 {% endif %} 90 90 </dl> -
djangobb_forum/templates/djangobb_forum/delete_posts.html
r411 r538 9 9 <div class="inbox"> 10 10 <div class="pagelink conl">{% paginate %}</div> 11 <ul><li><a href="{% url djangobb:index%}">{% trans "Root" %} </a></li><li>» {% link topic.forum %} </li><li>» {{ topic }}12 <a href="{% url djangobb:forum_topic_feedtopic.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" style="vertical-align:middle;" /></a>11 <ul><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %} </a></li><li>» {% link topic.forum %} </li><li>» {{ topic }} 12 <a href="{% url 'djangobb:forum_topic_feed' topic.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" style="vertical-align:middle;" /></a> 13 13 </li></ul> 14 14 <div class="clearer"></div> … … 26 26 <div class="postleft"> 27 27 <dl> 28 <dt><strong><a href="{% url djangobb:forum_profilepost.user.username %}">{{ post.user.username }}</a></strong></dt>28 <dt><strong><a href="{% url 'djangobb:forum_profile' post.user.username %}">{{ post.user.username }}</a></strong></dt> 29 29 <dd class="usertitle"><strong>{{ post.user.forum_profile.status }}</strong></dd> 30 30 </dl> -
djangobb_forum/templates/djangobb_forum/edit_post.html
r372 r538 6 6 <div class="linkst"> 7 7 <div class="inbox"> 8 <ul><li><a href="{% url djangobb:index%}">{% trans "Root" %}</a> </li><li>» {% link post.topic.forum %}</li><li>» {{ post.topic }}</li></ul>8 <ul><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a> </li><li>» {% link post.topic.forum %}</li><li>» {{ post.topic }}</li></ul> 9 9 <div class="clearer"></div> 10 10 </div> -
djangobb_forum/templates/djangobb_forum/forum.html
r411 r538 11 11 <div class="pagelink conl">{% paginate %}</div> 12 12 {% if user.is_authenticated %} 13 <p class="postlink conr"><a href="{% url djangobb:add_topicforum.id %}">{% trans "New topic" %}</a></p>13 <p class="postlink conr"><a href="{% url 'djangobb:add_topic' forum.id %}">{% trans "New topic" %}</a></p> 14 14 {% endif %} 15 <ul><li><a href="{% url djangobb:index%}">{% trans "Root" %}</a> </li><li>» {{ forum.name }}</li></ul>15 <ul><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a> </li><li>» {{ forum.name }}</li></ul> 16 16 <div class="clearer"></div> 17 17 </div> … … 19 19 <div id="vf" class="blocktable"> 20 20 <h2> 21 <a href="{% url djangobb:forum_forum_feedforum.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="rss" /></a>21 <a href="{% url 'djangobb:forum_forum_feed' forum.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="rss" /></a> 22 22 <b><span>{{ forum.name }}</span></b> 23 23 </h2> … … 69 69 <div class="pagelink conl">{% paginate %}</div> 70 70 {% if user.is_authenticated %} 71 <p class="postlink conr"><a href="{% url djangobb:add_topicforum.id %}">{% trans "New topic" %}</a></p>71 <p class="postlink conr"><a href="{% url 'djangobb:add_topic' forum.id %}">{% trans "New topic" %}</a></p> 72 72 {% endif %} 73 <ul><li><a href="{% url djangobb:index%}">{% trans "Root" %}</a> </li><li>» {{ forum.name }}</li></ul>73 <ul><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a> </li><li>» {{ forum.name }}</li></ul> 74 74 <div class="clearer"></div> 75 75 </div> … … 81 81 <div><label>{% trans "Jump to" %} 82 82 <br /> 83 <select name="id" id="forum_id" onchange="window.location=('{% url djangobb:index%}'+this.options[this.selectedIndex].value)">83 <select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)"> 84 84 {% for category in categories %} 85 85 <optgroup label="{{ category }}"> … … 90 90 {% endfor %} 91 91 </select> 92 <input type="button" onclick="window.location=('{% url djangobb:index%}'+getElementById('forum_id').value)" value=" {% trans "Go" %} " accesskey="g" />92 <input type="button" onclick="window.location=('{% url 'djangobb:index' %}'+getElementById('forum_id').value)" value=" {% trans "Go" %} " accesskey="g" /> 93 93 </label></div> 94 94 </form> 95 95 {% if moderator %} 96 <p id="modcontrols"><a href="{% url djangobb:moderateforum.id %}">{% trans "Moderate forum" %}</a></p>96 <p id="modcontrols"><a href="{% url 'djangobb:moderate' forum.id %}">{% trans "Moderate forum" %}</a></p> 97 97 {% endif %} 98 98 </div> -
djangobb_forum/templates/djangobb_forum/forum_row.html
r522 r538 20 20 21 21 <div class="tclcon"> 22 <h3>{% link forum %} <a href="{% url djangobb:forum_forum_feedforum.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="rss" /></a></h3>22 <h3>{% link forum %} <a href="{% url 'djangobb:forum_forum_feed' forum.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="rss" /></a></h3> 23 23 {{ forum.description|safe }} 24 24 <p> -
djangobb_forum/templates/djangobb_forum/header.html
r519 r538 7 7 <div class="box"> 8 8 <div id="brdtitle" class="inbox"> 9 <h1><span><a href="{% url djangobb:index%}">{{ forum_settings.HEADER|safe }}</a></span></h1>9 <h1><span><a href="{% url 'djangobb:index' %}">{{ forum_settings.HEADER|safe }}</a></span></h1> 10 10 <p><span>{{ forum_settings.TAGLINE|safe }}</span></p> 11 11 </div> … … 13 13 <ul> 14 14 {% block menu %} 15 <li id="navindex"><a href="{% url djangobb:index%}">{% trans "Index" %}</a></li>16 <li id="navuserlist"><a href="{% url djangobb:forum_users%}">{% trans "User list" %}</a></li>17 <li id="navsearch"><a href="{% url djangobb:search%}">{% trans "Search" %}</a></li>15 <li id="navindex"><a href="{% url 'djangobb:index' %}">{% trans "Index" %}</a></li> 16 <li id="navuserlist"><a href="{% url 'djangobb:forum_users' %}">{% trans "User list" %}</a></li> 17 <li id="navsearch"><a href="{% url 'djangobb:search' %}">{% trans "Search" %}</a></li> 18 18 {% if user.is_superuser %} 19 <li id="navadmin"><a href="{% url admin:index%}">{% trans "Administration" %}</a></li>19 <li id="navadmin"><a href="{% url 'admin:index' %}">{% trans "Administration" %}</a></li> 20 20 {% endif %} 21 21 {% if user.is_authenticated %} 22 <li id="navprofile"><a href="{% url djangobb:forum_profilerequest.user %}">{% trans "Profile" %}</a></li>22 <li id="navprofile"><a href="{% url 'djangobb:forum_profile' request.user %}">{% trans "Profile" %}</a></li> 23 23 {% if forum_settings.PM_SUPPORT %} 24 <li id="navpm"><a href="{% url messages_inbox%}">{% trans "PM" %}</a></li>24 <li id="navpm"><a href="{% url 'messages_inbox' %}">{% trans "PM" %}</a></li> 25 25 {% endif %} 26 26 {% endif %} … … 34 34 <li>{% trans "Last visit:" %} {% forum_time user.last_login %}</li> 35 35 {% if forum_settings.PM_SUPPORT and messages_inbox_count > 0 %} 36 <ul><li class="pmlink"><strong><a href="{% url messages_inbox%}">{% trans "There are new messages" %} ({{ messages_inbox_count }})</a></strong></li></ul>36 <ul><li class="pmlink"><strong><a href="{% url 'messages_inbox' %}">{% trans "There are new messages" %} ({{ messages_inbox_count }})</a></strong></li></ul> 37 37 {% endif %} 38 38 {% else %} … … 40 40 {% endif %} 41 41 {% if user.is_superuser and reports %} 42 <li class="reportlink"><strong><a href="{% url admin:index%}">{% trans "There are new reports" %} ({% new_reports %})</a></strong></li>42 <li class="reportlink"><strong><a href="{% url 'admin:index' %}">{% trans "There are new reports" %} ({% new_reports %})</a></strong></li> 43 43 {% endif %} 44 44 </ul> 45 45 {% if user.is_authenticated %} 46 46 <ul class="conr"> 47 <li><a href="{% url djangobb:search%}?action=show_new">{% trans "Show new posts since last visit" %}</a></li>48 <li><a href="{% url djangobb:misc%}?action=markread">{% trans "Mark all topics as read" %}</a></li>47 <li><a href="{% url 'djangobb:search' %}?action=show_new">{% trans "Show new posts since last visit" %}</a></li> 48 <li><a href="{% url 'djangobb:misc' %}?action=markread">{% trans "Mark all topics as read" %}</a></li> 49 49 </ul> 50 50 {% endif %} -
djangobb_forum/templates/djangobb_forum/includes/post_in_search_page.html
r514 r538 9 9 <div class="postleft"> 10 10 <dl> 11 <dt><strong><a href="{% url djangobb:forum_profilepost.user %}">{{ post.user }}</a></strong></dt>11 <dt><strong><a href="{% url 'djangobb:forum_profile' post.user %}">{{ post.user }}</a></strong></dt> 12 12 <dd>{% trans "Replies:" %} {{ post.topic.post_count }}</dd> 13 13 <dd><div class="icon"><div class="nosize"><!-- --></div></div></dd> -
djangobb_forum/templates/djangobb_forum/index.html
r488 r538 100 100 {% if forum_settings.LOFI_SUPPORT %} 101 101 <p class="lofi"> 102 <a href="{% url djangobb:lofi_index%}">Lo-Fi Version</a>102 <a href="{% url 'djangobb:lofi_index' %}">Lo-Fi Version</a> 103 103 </p> 104 104 {% endif %} -
djangobb_forum/templates/djangobb_forum/lofi/forum.html
r412 r538 7 7 <div id='largetext'>{% trans "Full Version:" %} {% link forum %}</div> 8 8 <div class='djangobbnav'> 9 <a href="{% url djangobb:lofi_index%}">{% trans "Root" %}</a> » {% lofi_link forum %}9 <a href="{% url 'djangobb:lofi_index' %}">{% trans "Root" %}</a> » {% lofi_link forum %} 10 10 </div> 11 11 -
djangobb_forum/templates/djangobb_forum/lofi/header.html
r371 r538 2 2 <div id='djangobbwrapper'> 3 3 <div class='djangobbnavsmall'> 4 <a href='{% url djangobb:search%}'>{% trans "Search" %}</a> -5 <a href='{% url djangobb:forum_users%}'>{% trans "User list" %}</a>4 <a href='{% url 'djangobb:search' %}'>{% trans "Search" %}</a> - 5 <a href='{% url 'djangobb:forum_users' %}'>{% trans "User list" %}</a> 6 6 </div> 7 7 -
djangobb_forum/templates/djangobb_forum/lofi/index.html
r372 r538 4 4 5 5 {% block content %} 6 <div id='largetext'>{% trans "Full Version:" %} <a href="{% url djangobb:index%}">{% trans "Root" %}</a></div>6 <div id='largetext'>{% trans "Full Version:" %} <a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a></div> 7 7 <div class='djangobbnav'> 8 <a href="{% url djangobb:lofi_index%}">{% trans "Root" %}</a>8 <a href="{% url 'djangobb:lofi_index' %}">{% trans "Root" %}</a> 9 9 </div> 10 10 … … 23 23 </div> 24 24 </div> 25 <div class='smalltext'>This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please <a href='{% url djangobb:index%}'>click here</a>.</div>25 <div class='smalltext'>This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please <a href='{% url 'djangobb:index' %}'>click here</a>.</div> 26 26 </div> 27 27 {% endblock %} -
djangobb_forum/templates/djangobb_forum/lofi/topic.html
r414 r538 7 7 <div id='largetext'>{% trans "Full Version:" %} {% link topic %}</div> 8 8 <div class='djangobbnav'> 9 <a href="{% url djangobb:lofi_index%}">{% trans "Root" %}</a> » {% lofi_link topic.forum %} » {% lofi_link topic %}9 <a href="{% url 'djangobb:lofi_index' %}">{% trans "Root" %}</a> » {% lofi_link topic.forum %} » {% lofi_link topic %} 10 10 </div> 11 11 -
djangobb_forum/templates/djangobb_forum/moderate.html
r411 r538 9 9 <div class="inbox"> 10 10 <div class="pagelink conl">{% paginate %}</div> 11 <ul><li><a href="{% url djangobb:index%}">{% trans "Root" %}</a> </li><li>» {{ forum }}</li></ul>11 <ul><li><a href="{% url 'djangobb:index' %}">{% trans "Root" %}</a> </li><li>» {{ forum }}</li></ul> 12 12 <div class="clearer"></div> 13 13 </div> -
djangobb_forum/templates/djangobb_forum/move_topic.html
r372 r538 7 7 <h2><span>{% trans "Move topic" %}</span></h2> 8 8 <div class="box"> 9 <form method="POST" action="{% url djangobb:move_topic%}">9 <form method="POST" action="{% url 'djangobb:move_topic' %}"> 10 10 {% csrf_token %} 11 11 <div class="inform"> -
djangobb_forum/templates/djangobb_forum/profile/profile_essentials.html
r486 r538 24 24 <p> 25 25 {% if request.user.is_superuser %} 26 <a href="{% url admin:user_change_passwordprofile.id %}">{% trans "Change password" %}</a>26 <a href="{% url 'admin:user_change_password' profile.id %}">{% trans "Change password" %}</a> 27 27 {% else %} 28 <a href="{% url auth_password_change%}">{% trans "Change password" %}</a>28 <a href="{% url 'auth_password_change' %}">{% trans "Change password" %}</a> 29 29 {% endif %} 30 30 </p> … … 40 40 {{ form.email }}<br></label> 41 41 {% if request.user.is_superuser %} 42 <p><a href="{% url djangobb:misc%}?mail_to={{ profile }}">{% trans "Send e-mail" %}</a></p>42 <p><a href="{% url 'djangobb:misc' %}?mail_to={{ profile }}">{% trans "Send e-mail" %}</a></p> 43 43 {% endif %} 44 44 … … 82 82 <p>{% trans "Last post:" %} {{ profile.forum_profile.last_post }}</p> 83 83 <label>{% trans "Posts:" %} {{ profile.forum_profile.post_count }} - 84 <a href="{% url djangobb:search%}?action=show_user&user_id={{ profile.id }}">{% trans "Show all posts" %}</a></p>84 <a href="{% url 'djangobb:search' %}?action=show_user&user_id={{ profile.id }}">{% trans "Show all posts" %}</a></p> 85 85 </label> 86 86 </div> -
djangobb_forum/templates/djangobb_forum/profile/profile_menu.html
r404 r538 5 5 <div class="inbox"> 6 6 <ul> 7 <li {%if active_menu == "essentials" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profile_essentialsprofile %}">{% trans "Essentials" %}</a></li>8 <li {%if active_menu == "personal" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profile_personalprofile %}">{% trans "Personal" %}</a></li>9 <li {%if active_menu == "messaging" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profile_messagingprofile %}">{% trans "Messaging" %}</a></li>10 <li {%if active_menu == "personality" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profile_personalityprofile %}">{% trans "Personality" %}</a></li>11 <li {%if active_menu == "display" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profile_displayprofile %}">{% trans "Display" %}</a></li>12 <li {%if active_menu == "privacy" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profile_privacyprofile %}">{% trans "Privacy" %}</a></li>7 <li {%if active_menu == "essentials" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile_essentials' profile %}">{% trans "Essentials" %}</a></li> 8 <li {%if active_menu == "personal" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile_personal' profile %}">{% trans "Personal" %}</a></li> 9 <li {%if active_menu == "messaging" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile_messaging' profile %}">{% trans "Messaging" %}</a></li> 10 <li {%if active_menu == "personality" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile_personality' profile %}">{% trans "Personality" %}</a></li> 11 <li {%if active_menu == "display" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile_display' profile %}">{% trans "Display" %}</a></li> 12 <li {%if active_menu == "privacy" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile_privacy' profile %}">{% trans "Privacy" %}</a></li> 13 13 {# if request.user.is_superuser #} 14 <!--li {% if active_menu == "admin" %}class="isactive"{% endif %}><a href="{% url djangobb:forum_profileprofile %}?section=admin">{% trans "Administration" %}</a></li-->14 <!--li {% if active_menu == "admin" %}class="isactive"{% endif %}><a href="{% url 'djangobb:forum_profile' profile %}?section=admin">{% trans "Administration" %}</a></li--> 15 15 {# endif #} 16 16 -
djangobb_forum/templates/djangobb_forum/profile/profile_personality.html
r458 r538 24 24 <label>{{ form.show_avatar }}{% trans "Use avatar." %}<br></label> 25 25 </div> 26 <p class="clearb"><a href="{% url djangobb:forum_profile_upload_avatarprofile.username %}">{% trans "Upload avatar" %}</a></p>26 <p class="clearb"><a href="{% url 'djangobb:forum_profile_upload_avatar' profile.username %}">{% trans "Upload avatar" %}</a></p> 27 27 </div> 28 28 </fieldset> -
djangobb_forum/templates/djangobb_forum/reputation.html
r427 r538 33 33 {% for reputation in reputations %} 34 34 <tr> 35 <td><a href="{% url djangobb:reputationreputation.from_user %}">{{ reputation.from_user }}</a></td>35 <td><a href="{% url 'djangobb:reputation' reputation.from_user %}">{{ reputation.from_user }}</a></td> 36 36 <td><a href="{{ reputation.post.get_absolute_url }}">{{ reputation.post.topic }}</a></td> 37 37 <td>{{ reputation.reason }}</td> -
djangobb_forum/templates/djangobb_forum/reputation_form.html
r372 r538 8 8 <div class="box"> 9 9 <div class="inbox"> 10 <form action="{% url djangobb:reputationform.to_user %}" method="post">10 <form action="{% url 'djangobb:reputation' form.to_user %}" method="post"> 11 11 {% csrf_token %} 12 12 <table cellspacing="0"> -
djangobb_forum/templates/djangobb_forum/search_posts.html
r514 r538 54 54 <dl id="searchlinks" class="conl"> 55 55 <dt><strong>{% trans "Search links" %}</strong></dt> 56 <dd><a href="{% url djangobb:search%}?action=show_24h">{% trans "Show recent posts" %}</a></dd>57 <dd><a href="{% url djangobb:search%}?action=show_unanswered">{% trans "Show unanswered posts" %}</a></dd>56 <dd><a href="{% url 'djangobb:search' %}?action=show_24h">{% trans "Show recent posts" %}</a></dd> 57 <dd><a href="{% url 'djangobb:search' %}?action=show_unanswered">{% trans "Show unanswered posts" %}</a></dd> 58 58 {% if user.is_authenticated %} 59 <dd><a href="{% url djangobb:search%}?action=show_subscriptions">{% trans "Show your subscribed topics" %}</a></dd>60 <dd><a href="{% url djangobb:search%}?action=show_user">{% trans "Show your topics" %}</a></dd>59 <dd><a href="{% url 'djangobb:search' %}?action=show_subscriptions">{% trans "Show your subscribed topics" %}</a></dd> 60 <dd><a href="{% url 'djangobb:search' %}?action=show_user">{% trans "Show your topics" %}</a></dd> 61 61 {% endif %} 62 62 </dl> -
djangobb_forum/templates/djangobb_forum/topic.html
r513 r538 12 12 <ul> 13 13 <li> 14 <a href="{% url djangobb:index%}">{% trans "Root" %} </a></li><li>» {% link topic.forum %} </li><li>» {{ topic.name }}15 <a href="{% url djangobb:forum_topic_feedtopic.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a>14 <a href="{% url 'djangobb:index' %}">{% trans "Root" %} </a></li><li>» {% link topic.forum %} </li><li>» {{ topic.name }} 15 <a href="{% url 'djangobb:forum_topic_feed' topic.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a> 16 16 </li> 17 17 </ul> … … 89 89 {% endif %} 90 90 {% if forum_settings.REPUTATION_SUPPORT %} 91 <dd><a href="{% url djangobb:reputationpost.user.username %}">{% trans "Reputation" %}</a>:91 <dd><a href="{% url 'djangobb:reputation' post.user.username %}">{% trans "Reputation" %}</a>: 92 92 {% if request.user != post.user %} {# TODO: and user.is_authenticated #} 93 <a href="{% url djangobb:reputation post.user.username %}?action=plus&post_id={{ post.id }}"><img src="{{ STATIC_URL }}djangobb_forum/img/reputation/warn_add.gif" alt="+" /></a> <strong>{{ post.user.forum_profile.reply_total|default_if_none:"0" }} </strong><a href="{% url djangobb:reputationpost.user.username %}?action=minus&post_id={{ post.id }}"><img src="{{ STATIC_URL }}djangobb_forum/img/reputation/warn_minus.gif" alt="-" /></a>93 <a href="{% url 'djangobb:reputation' post.user.username %}?action=plus&post_id={{ post.id }}"><img src="{{ STATIC_URL }}djangobb_forum/img/reputation/warn_add.gif" alt="+" /></a> <strong>{{ post.user.forum_profile.reply_total|default_if_none:"0" }} </strong><a href="{% url 'djangobb:reputation' post.user.username %}?action=minus&post_id={{ post.id }}"><img src="{{ STATIC_URL }}djangobb_forum/img/reputation/warn_minus.gif" alt="-" /></a> 94 94 {% else %} 95 95 <strong>{{ post.user.forum_profile.reply_total|default_if_none:"0" }}</strong> … … 97 97 </dd> 98 98 {% endif %} 99 <dd class="usercontacts"><a href="{% url djangobb:forum_profilepost.user.username %}">{% trans "Profile" %}</a> 99 <dd class="usercontacts"><a href="{% url 'djangobb:forum_profile' post.user.username %}">{% trans "Profile" %}</a> 100 100 {% if post.user.forum_profile.privacy_permission == 0 %} 101 101 <a href="mailto:{{ post.user.email }}">{% trans "E-mail" %}</a> 102 102 {% else %} 103 103 {% if post.user.forum_profile.privacy_permission == 1 %} 104 <a href="{% url djangobb:misc%}?mail_to={{ post.user.username }}">{% trans "Send e-mail" %}</a> 104 <a href="{% url 'djangobb:misc' %}?mail_to={{ post.user.username }}">{% trans "Send e-mail" %}</a> 105 105 {% endif %} 106 106 {% endif %} 107 107 {% if forum_settings.PM_SUPPORT %} 108 108 {% if user.is_authenticated %} 109 <a href="{% url messages_compose_topost.user.username %}">{% trans "PM" %}</a> </dd>109 <a href="{% url 'messages_compose_to' post.user.username %}">{% trans "PM" %}</a> </dd> 110 110 {% endif %} 111 111 {% endif %} … … 146 146 <div class="postfootright"> 147 147 <ul> 148 <li class="postreport"><a href="{% url djangobb:misc%}?action=report&post_id={{ post.id }}">{% trans "Report" %}</a> </li>148 <li class="postreport"><a href="{% url 'djangobb:misc' %}?action=report&post_id={{ post.id }}">{% trans "Report" %}</a> </li> 149 149 {% if moderator or post|forum_equal_to:last_post %} 150 150 {% if moderator or post.user|forum_equal_to:user %} 151 <li class="postdelete">| <a onclick="return confirm('{% trans "Are you sure you want to delete this post?" %}')" href="{% url djangobb:delete_postpost.id %}">{% trans "Delete" %}</a> </li>151 <li class="postdelete">| <a onclick="return confirm('{% trans "Are you sure you want to delete this post?" %}')" href="{% url 'djangobb:delete_post' post.id %}">{% trans "Delete" %}</a> </li> 152 152 {% endif %} 153 153 {% endif %} 154 154 {% if moderator or post|forum_posted_by:user %} 155 <li class="postedit">| <a href="{% url djangobb:edit_postpost.id %}">{% trans "Edit" %}</a> </li>155 <li class="postedit">| <a href="{% url 'djangobb:edit_post' post.id %}">{% trans "Edit" %}</a> </li> 156 156 {% endif %} 157 157 {% if user.is_authenticated %} … … 168 168 <div class="pagelink conl">{% paginate %}</div> 169 169 <ul> 170 <li><a href="{% url djangobb:index%}">{% trans "Root" %} </a></li>170 <li><a href="{% url 'djangobb:index' %}">{% trans "Root" %} </a></li> 171 171 <li>» {% link topic.forum %} </li> 172 172 <li> 173 » {{ topic }}<a href="{% url djangobb:forum_topic_feedtopic.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a>173 » {{ topic }}<a href="{% url 'djangobb:forum_topic_feed' topic.id %}"><img src="{{ STATIC_URL }}djangobb_forum/img/feed-icon-small.png" alt="[RSS Feed]" title="[RSS Feed]" class="breadcrumb_rss" /></a> 174 174 </li> 175 175 </ul> 176 176 {% if user.is_authenticated %} 177 177 {% if subscribed %} 178 <a class="subscribelink clearb" href="{% url djangobb:forum_delete_subscriptiontopic.id %}?from_topic">{% trans "Unsubscribe" %}</a>178 <a class="subscribelink clearb" href="{% url 'djangobb:forum_delete_subscription' topic.id %}?from_topic">{% trans "Unsubscribe" %}</a> 179 179 {% else %} 180 <a class="subscribelink clearb" href="{% url djangobb:forum_add_subscriptiontopic.id %}">{% trans "Subscribe" %}</a>180 <a class="subscribelink clearb" href="{% url 'djangobb:forum_add_subscription' topic.id %}">{% trans "Subscribe" %}</a> 181 181 {% endif %} 182 182 {% endif %} … … 198 198 <div><label>{% trans "Jump to " %} 199 199 <br /> 200 <select name="id" id="forum_id" onchange="window.location=('{% url djangobb:index%}'+this.options[this.selectedIndex].value)">200 <select name="id" id="forum_id" onchange="window.location=('{% url 'djangobb:index' %}'+this.options[this.selectedIndex].value)"> 201 201 {% for category in categories %} 202 202 <optgroup label="{{ category }}"> … … 207 207 {% endfor %} 208 208 </select> 209 <input type="button" onclick="window.location=('{% url djangobb:index%}'+getElementById('forum_id').value)" value=" {% trans "Go" %} " accesskey="g" />209 <input type="button" onclick="window.location=('{% url 'djangobb:index' %}'+getElementById('forum_id').value)" value=" {% trans "Go" %} " accesskey="g" /> 210 210 </label></div> 211 211 </form> 212 212 <dl id="modcontrols"><dt><strong>{% trans "Moderator control" %}</strong></dt> 213 213 {% if moderator %} 214 <dd><a href="{% url djangobb:delete_poststopic.id %}">{% trans "Delete multiple posts" %}</a></dd>215 <dd><a href="{% url djangobb:move_topic%}?topic_id={{ topic.id }}">{% trans "Move topic" %}</a></dd>214 <dd><a href="{% url 'djangobb:delete_posts' topic.id %}">{% trans "Delete multiple posts" %}</a></dd> 215 <dd><a href="{% url 'djangobb:move_topic' %}?topic_id={{ topic.id }}">{% trans "Move topic" %}</a></dd> 216 216 {% if topic.closed %} 217 <dd><a href="{% url djangobb:open_close_topictopic.id 'o' %}">{% trans "Open topic" %}</a></dd>217 <dd><a href="{% url 'djangobb:open_close_topic' topic.id 'o' %}">{% trans "Open topic" %}</a></dd> 218 218 {% else %} 219 <dd><a href="{% url djangobb:open_close_topictopic.id 'c' %}">{% trans "Close topic" %}</a></dd>219 <dd><a href="{% url 'djangobb:open_close_topic' topic.id 'c' %}">{% trans "Close topic" %}</a></dd> 220 220 {% endif %} 221 221 {% if topic.sticky %} 222 <dd><a href="{% url djangobb:stick_unstick_topictopic.id 'u' %}">{% trans "Unstick topic" %}</a></dd></dl>222 <dd><a href="{% url 'djangobb:stick_unstick_topic' topic.id 'u' %}">{% trans "Unstick topic" %}</a></dd></dl> 223 223 {% else %} 224 <dd><a href="{% url djangobb:stick_unstick_topictopic.id 's' %}">{% trans "Stick topic" %}</a></dd></dl>224 <dd><a href="{% url 'djangobb:stick_unstick_topic' topic.id 's' %}">{% trans "Stick topic" %}</a></dd></dl> 225 225 {% endif %} 226 226 {% endif %} -
djangobb_forum/templates/djangobb_forum/user.html
r392 r538 40 40 {% else %} 41 41 {% if profile.forum_profile.privacy_permission == 1 %} 42 <dd><a href="{% url djangobb:misc%}?mail_to={{ profile }}">{% trans "Send e-mail" %}</a></dd>42 <dd><a href="{% url 'djangobb:misc' %}?mail_to={{ profile }}">{% trans "Send e-mail" %}</a></dd> 43 43 {% else %} 44 44 <dd>{% trans "(Hidden)" %}</dd> … … 118 118 <dl> 119 119 <dt>{% trans "Posts:" %} </dt> 120 <dd>{{ profile.forum_profile.post_count }} - <a href="{% url djangobb:search%}?action=show_user&user_id={{ profile.id }}">{% trans "Show all posts" %}</a></dd>120 <dd>{{ profile.forum_profile.post_count }} - <a href="{% url 'djangobb:search' %}?action=show_user&user_id={{ profile.id }}">{% trans "Show all posts" %}</a></dd> 121 121 <dt>{% trans "Last post:" %} </dt> 122 122 {% if profile.forum_profile.last_post %}
Note: See TracChangeset
for help on using the changeset viewer.
