allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [11/50] git commit: [#4227] [#4511] quote label links in ForgeBlog too
Date Tue, 25 Mar 2014 14:27:09 GMT
[#4227] [#4511] quote label links in ForgeBlog too


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

Branch: refs/heads/db/5995
Commit: e1fc8755c22b7222b8327840a68baac53f3e1707
Parents: 9a0a6a1
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Fri Mar 7 15:43:56 2014 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Mar 7 15:43:56 2014 +0000

----------------------------------------------------------------------
 ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html | 2 +-
 ForgeBlog/forgeblog/templates/blog_widgets/view_post.html    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e1fc8755/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html b/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
index c70b8be..81e1d85 100644
--- a/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
+++ b/ForgeBlog/forgeblog/templates/blog_widgets/preview_post.html
@@ -35,7 +35,7 @@
   <em class="grid-19">
     <strong>Labels:</strong>
     {% for l in value.labels %}
-      <span><a href="{{c.app.url}}search?q=labels_t:{{l}}&parser=standard">{{l}}</a>
</span>
+      <span><a href="{{c.app.url}}search?q=labels_t:%22{{l}}%22&parser=standard">{{l}}</a>
</span>
     {% endfor %}
   </em>
   {% endif %}

http://git-wip-us.apache.org/repos/asf/allura/blob/e1fc8755/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html b/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
index bcc49c4..66b92c5 100644
--- a/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
+++ b/ForgeBlog/forgeblog/templates/blog_widgets/view_post.html
@@ -33,7 +33,7 @@
 <em class="grid-19">
   <strong>Labels:</strong>
   {% for l in value.labels %}
-    <span><a href="{{c.app.url}}search?q=labels_t:{{l}}&parser=standard">{{l}}</a>
</span>
+    <span><a href="{{c.app.url}}search?q=labels_t:%22{{l}}%22&parser=standard">{{l}}</a>
</span>
   {% endfor %}
 </em>
 {% endif %}


Mime
View raw message