@@ -13,7 +13,9 | |||
|
13 | 13 | |
|
14 | 14 | <h2><%=l(:label_project_plural)%></h2> |
|
15 | 15 | |
|
16 | <div id="projects-index"> | |
|
16 | 17 | <%= render_project_hierarchy(@projects)%> |
|
18 | </div> | |
|
17 | 19 | |
|
18 | 20 | <% if User.current.logged? %> |
|
19 | 21 | <p style="text-align:right;"> |
@@ -9,17 +9,15 | |||
|
9 | 9 | </p> |
|
10 | 10 | <%= content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do %> |
|
11 | 11 | <p> |
|
12 |
<% @user.projects |
|
|
13 | <label> | |
|
14 |
|
|
|
15 |
|
|
|
12 | <%= render_project_nested_lists(@user.projects) do |project| | |
|
13 | content_tag('label', | |
|
14 | check_box_tag( | |
|
15 | 'notified_project_ids[]', | |
|
16 | 16 | project.id, |
|
17 | 17 | @user.notified_projects_ids.include?(project.id) |
|
18 | ) %> | |
|
19 | <%= h(project.name) %> | |
|
20 | </label> | |
|
21 | <br /> | |
|
22 | <% end %> | |
|
18 | ) + ' ' + h(project.name) | |
|
19 | ) | |
|
20 | end %> | |
|
23 | 21 | </p> |
|
24 | 22 | <p><em class="info"><%= l(:text_user_mail_option) %></em></p> |
|
25 | 23 | <% end %> |
@@ -412,12 +412,15 form .attributes select { width: 60%; } | |||
|
412 | 412 | input#issue_subject { width: 99%; } |
|
413 | 413 | select#issue_done_ratio { width: 95px; } |
|
414 | 414 | |
|
415 |
ul.projects { |
|
|
416 |
ul.projects.root { |
|
|
417 | ul.projects ul.projects { border-left: 3px solid #e0e0e0; } | |
|
418 | ul.projects li.root { list-style-type:none; margin-bottom: 1em; } | |
|
419 | ul.projects li.child { list-style-type:none; margin-top: 1em;} | |
|
420 | ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; } | |
|
415 | ul.projects {margin:0; padding-left:1em;} | |
|
416 | ul.projects.root {margin:0; padding:0;} | |
|
417 | ul.projects li {list-style-type:none;} | |
|
418 | ||
|
419 | #projects-index ul.projects ul.projects { border-left: 3px solid #e0e0e0; } | |
|
420 | #projects-index ul.projects li.root {margin-bottom: 1em;} | |
|
421 | #projects-index ul.projects li.child {margin-top: 1em;} | |
|
422 | #projects-index ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; } | |
|
423 | #notified-projects ul.projects ul {padding-left:1.6em;} | |
|
421 | 424 | .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; } |
|
422 | 425 | |
|
423 | 426 | #tracker_project_ids ul { margin: 0; padding-left: 1em; } |
General Comments 0
You need to be logged in to leave comments.
Login now