]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/subscriptions.html
be able to have user links without ids in the url, wrapped in a setting of the URL...
[osqa.git] / forum / skins / default / templates / users / subscriptions.html
index 573bb0a3a14309efe516af97a828b5c3f631579c..5d71919319e8c59738d347ccceb6d0e0546f94d2 100644 (file)
@@ -32,8 +32,8 @@
     <br/>
 
     <div id="navBar"><div class="tabsA">
-        <a href='{% url user_subscriptions id=view_user.id slug=view_user.username|slugify %}?tab=settings' id="subscriptions_settings_button"  {%  if not manage_open %}class="on"{% endif %}>Settings</a>
-        <a href='{% url user_subscriptions id=view_user.id slug=view_user.username|slugify %}?tab=manage' id="subscriptions_management_button"  {%  if manage_open %}class="on"{% endif %}>Manage</a>
+        <a href='{{ view_user.get_user_subscriptions_url }}?tab=settings' id="subscriptions_settings_button"  {%  if not manage_open %}class="on"{% endif %}>Settings</a>
+        <a href='{{ view_user.get_user_subscriptions_url }}?tab=manage' id="subscriptions_management_button"  {%  if manage_open %}class="on"{% endif %}>Manage</a>
     </div></div>
 
     <br/>