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