incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [04/22] git commit: [#2835] ticket:287 Add search comments checkbox
Date Tue, 26 Mar 2013 21:02:38 GMT
[#2835] ticket:287 Add search comments checkbox


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

Branch: refs/heads/master
Commit: b7f967dbca7095ba78df3110f44fc1f74ea1a4af
Parents: aaa1e45
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Mar 5 12:06:30 2013 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Tue Mar 26 20:57:34 2013 +0000

----------------------------------------------------------------------
 .../allura/templates/widgets/search_results.html   |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/b7f967db/Allura/allura/templates/widgets/search_results.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/search_results.html b/Allura/allura/templates/widgets/search_results.html
index bc1cfdc..6700c48 100644
--- a/Allura/allura/templates/widgets/search_results.html
+++ b/Allura/allura/templates/widgets/search_results.html
@@ -11,15 +11,20 @@
       Help
     </a>
   </div>
-  <div class="grid-19">
+  <div class="grid-10">
     {% set search_project = request.GET['project'] == '1' %}
     <input type="radio" name="project" value="0" id="search-app" {% if not search_project
%}checked{% endif %}>
     <label for="search-app">Search {{c.app.config.options.mount_point or 'app'}}</label>
     <input type="radio" name="project" value="1" id="search-project" {% if search_project
%}checked{% endif %}>
     <label for="search-project">Search entire project</label>
   </div>
-  <div class="grid-19">
-    Search history? <input type="checkbox" name="history"{% if history %} checked="checked"{%
endif %}/>
+  <div class="grid-9">
+    {% if not search_comments_disable %}
+      <label for="search-comments">Search comments?</label>
+      <input id="search-comments" type="checkbox" name="search_comments"{% if search_comments
%} checked{% endif %}>
+    {% endif %}
+    <label for="search-history">Search history?</label>
+    <input id="search-history" type="checkbox" name="history"{% if history %} checked{%
endif %}>
   </div>
 </form>
 <div style="clear:both">&nbsp;</div>


Mime
View raw message