@@ -197,12 +197,15 module IssuesHelper | |||
|
197 | 197 | # links to #index on issues/show |
|
198 | 198 | url_params = controller_name == 'issues' ? {:controller => 'issues', :action => 'index', :project_id => @project} : params |
|
199 | 199 | |
|
200 | content_tag('h3', h(title)) + | |
|
201 | queries.collect {|query| | |
|
202 | css = 'query' | |
|
203 | css << ' selected' if query == @query | |
|
204 | link_to(h(query.name), url_params.merge(:query_id => query), :class => css) | |
|
205 | }.join('<br />').html_safe | |
|
200 | content_tag('h3', h(title)) + "\n" + | |
|
201 | content_tag('ul', | |
|
202 | queries.collect {|query| | |
|
203 | css = 'query' | |
|
204 | css << ' selected' if query == @query | |
|
205 | content_tag('li', link_to(h(query.name), url_params.merge(:query_id => query), :class => css)) | |
|
206 | }.join("\n").html_safe, | |
|
207 | :class => 'queries' | |
|
208 | ) + "\n" | |
|
206 | 209 | end |
|
207 | 210 | |
|
208 | 211 | def render_sidebar_queries |
@@ -76,6 +76,8 h4 {border-bottom: 1px dotted #bbb;} | |||
|
76 | 76 | #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; } |
|
77 | 77 | * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; } |
|
78 | 78 | #sidebar .contextual { margin-right: 1em; } |
|
79 | #sidebar ul.watchers, #sidebar ul.queries {margin: 0; padding: 0;} | |
|
80 | #sidebar ul.watchers li, #sidebar ul.queries li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;} | |
|
79 | 81 | |
|
80 | 82 | #content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; } |
|
81 | 83 | * html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;} |
@@ -267,8 +269,6 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding- | |||
|
267 | 269 | div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; } |
|
268 | 270 | div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; } |
|
269 | 271 | |
|
270 | #watchers ul {margin: 0; padding: 0;} | |
|
271 | #watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;} | |
|
272 | 272 | #watchers select {width: 95%; display: block;} |
|
273 | 273 | #watchers a.delete {opacity: 0.4; vertical-align: middle;} |
|
274 | 274 | #watchers a.delete:hover {opacity: 1;} |
General Comments 0
You need to be logged in to leave comments.
Login now