##// END OF EJS Templates
search: make better use of search tags...
dan -
r3446:dd151813 default
parent child
Show More
@@ -78,8 +78,19
78 <br/>
78 <br/>
79
79
80 <div class="search-tags">
80 <div class="search-tags">
81 <span class="tag tag8">
82 %if c.repo_name:
83 <a href="${h.route_path('search', _query={'q': c.cur_query})}">${_('Global Search')}</a>
84 %elif c.repo_group_name:
85 <a href="${h.route_path('search', _query={'q': c.cur_query})}">${_('Global Search')}</a>
86 % else:
87 ${_('Global Search')}
88 %endif
89 </span>
90
81 %if c.repo_name:
91 %if c.repo_name:
82 <span class="tag tag-ok disabled">
92 »
93 <span class="tag tag8">
83 %if h.is_hg(c.rhodecode_db_repo):
94 %if h.is_hg(c.rhodecode_db_repo):
84 <i class="icon-hg"></i>
95 <i class="icon-hg"></i>
85 %endif
96 %endif
@@ -93,14 +104,16
93 </span>
104 </span>
94
105
95 %elif c.repo_group_name:
106 %elif c.repo_group_name:
96 <span class="tag tag-ok disabled">
107 »
108 <span class="tag tag8">
97 <i class="icon-folder-close"></i>
109 <i class="icon-folder-close"></i>
98 ${c.repo_group_name}
110 ${c.repo_group_name}
99 </span>
111 </span>
100 %endif
112 %endif
101
113
114
102 % for search_tag in c.search_tags:
115 % for search_tag in c.search_tags:
103 <span class="tag tag-ok disabled">${search_tag}</span>
116 <br/><span class="tag disabled" style="margin-top: 3px">${search_tag}</span>
104 % endfor
117 % endfor
105
118
106 </div>
119 </div>
General Comments 0
You need to be logged in to leave comments. Login now