allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [08/10] allura git commit: [#8020] ticket:875 Replace hardcoded link to moderatation page
Date Thu, 21 Jan 2016 15:29:47 GMT
[#8020] ticket:875 Replace hardcoded link to moderatation page


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/d316b2d5
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/d316b2d5
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/d316b2d5

Branch: refs/heads/ib/8020b
Commit: d316b2d5b643eb99d3d7fcac8c98d1884ed3372c
Parents: 4cd399b
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu Dec 24 14:44:50 2015 +0200
Committer: Denis Kotov <deniskkotov@gmail.com>
Committed: Wed Jan 20 16:03:45 2016 +0200

----------------------------------------------------------------------
 Allura/allura/templates/widgets/post_widget.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/d316b2d5/Allura/allura/templates/widgets/post_widget.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/post_widget.html b/Allura/allura/templates/widgets/post_widget.html
index 4d388ee..8c614d4 100644
--- a/Allura/allura/templates/widgets/post_widget.html
+++ b/Allura/allura/templates/widgets/post_widget.html
@@ -39,7 +39,8 @@
         {{lib.csrf_token()}}
       </form>
       <br>
-      <span class="spam-text">You can see all pending comments posted by this user&nbsp;</span><a
href="/p/test/tickets/_discuss/moderate?username={{value.author().username}}&status=pending">here</a>
+      <span class="spam-text">You can see all pending comments posted by this user&nbsp;</span>
+      <a href="{{value.thread.discussion.url()}}moderate?username={{value.author().username}}&status=pending">here</a>
     </div>
     {% endif %}
     <div class="row">


Mime
View raw message