You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/01/06 20:30:24 UTC
[5/8] allura git commit: [#8020] ticket:875 Replace hardcoded link to
moderatation page
[#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/b6dc95bb
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/b6dc95bb
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/b6dc95bb
Branch: refs/heads/db/8020
Commit: b6dc95bbe26269aeb9dc1bdc29a4774952e0b194
Parents: 1aebc64
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Dec 24 14:44:50 2015 +0200
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Wed Jan 6 12:51:41 2016 -0500
----------------------------------------------------------------------
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/b6dc95bb/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 </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 </span>
+ <a href="{{value.thread.discussion.url()}}moderate?username={{value.author().username}}&status=pending">here</a>
</div>
{% endif %}
<div class="row">