|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
|
1 | NO CONTENT: new file 100644, binary diff hidden |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_project_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <table class="listTableContent"> |
@@ -26,5 +30,3 | |||
|
26 | 30 | |
|
27 | 31 | <p><%= pagination_links_full @project_pages %> |
|
28 | 32 |
[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p> |
|
No newline at end of file | ||
|
29 | ||
|
30 | <p><%= link_to ('» ' + l(:label_project_new)), :controller => 'projects', :action => 'add' %></p> No newline at end of file |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_auth_source_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <table class="listTableContent"> |
@@ -25,6 +29,3 | |||
|
25 | 29 | </table> |
|
26 | 30 | |
|
27 | 31 | <%= pagination_links_full @auth_source_pages %> |
|
28 | <br /> | |
|
29 | <%= link_to '» ' + l(:label_auth_source_new), :action => 'new' %> | |
|
30 |
@@ -1,34 +1,22 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to_if_authorized l(:button_edit), {:controller => 'documents', :action => 'edit', :id => @document}, :class => 'pic picEdit' %> | |
|
3 | <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
|
4 | </div> | |
|
5 | ||
|
1 | 6 | <h2><%= @document.title %></h2> |
|
2 | 7 | |
|
3 | 8 | <p><em><%= @document.category.name %><br /> |
|
4 | 9 | <%= format_date @document.created_on %></em></p> |
|
5 | 10 | <%= textilizable @document.description %> |
|
6 | ||
|
7 | ||
|
8 | <table width="100%"> | |
|
9 | <tr><td><%= link_to_if_authorized l(:button_edit), :controller => 'documents', :action => 'edit', :id => @document %></td> | |
|
10 | <td align="right"> | |
|
11 | <% if authorize_for('documents', 'destroy') %> | |
|
12 | <%= start_form_tag({ :controller => 'documents', :action => 'destroy', :id => @document } ) %> | |
|
13 | <%= submit_tag l(:button_delete) %> | |
|
14 | <%= end_form_tag %> | |
|
15 | <% end %> | |
|
16 | </td></tr> | |
|
17 | </table> | |
|
18 | 11 | <br /> |
|
19 | 12 | |
|
20 | 13 | <h3><%= l(:label_attachment_plural) %></h3> |
|
21 | 14 | <ul> |
|
22 | 15 | <% for attachment in @attachments %> |
|
23 | 16 | <li> |
|
24 | <% if authorize_for('documents', 'destroy_attachment') %> | |
|
25 | <div style="float:right;padding:6px;"> | |
|
26 | <%= start_form_tag({ :controller => 'documents', :action => 'destroy_attachment', :id => @document, :attachment_id => attachment } ) %> | |
|
27 | <%= submit_tag l(:button_delete), :class => 'button-small' %> | |
|
28 | <%= end_form_tag %> | |
|
17 | <div class="contextual"> | |
|
18 | <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy_attachment', :id => @document, :attachment_id => attachment}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
|
29 | 19 |
|
|
30 | <% end %> | |
|
31 | ||
|
32 | 20 | <%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %> |
|
33 | 21 | (<%= human_size attachment.filesize %>)<br /> |
|
34 | 22 | <em><%= attachment.author.display_name %>, <%= format_date(attachment.created_on) %></em><br /> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_issue_status_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <table class="listTableContent"> |
@@ -23,6 +27,3 | |||
|
23 | 27 | </table> |
|
24 | 28 | |
|
25 | 29 | <%= pagination_links_full @issue_status_pages %> |
|
No newline at end of file | ||
|
26 | <br /> | |
|
27 | ||
|
28 | <%= link_to '» ' + l(:label_issue_status_new), :action => 'new' %> |
@@ -1,11 +1,9 | |||
|
1 | <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%= @issue.subject %></h2> | |
|
2 | <div class="topright"> | |
|
3 | <small> | |
|
4 | <%= l(:label_export_to) %> | |
|
5 | <%= link_to 'PDF', :action => 'export_pdf', :id => @issue %> | |
|
6 | </small> | |
|
1 | <div class="contextual"> | |
|
2 | <%= l(:label_export_to) %><%= link_to 'PDF', {:action => 'export_pdf', :id => @issue}, :class => 'pic picPdf' %> | |
|
7 | 3 | </div> |
|
8 | 4 | |
|
5 | <h2><%= @issue.tracker.name %> #<%= @issue.id %> - <%= @issue.subject %></h2> | |
|
6 | ||
|
9 | 7 | <div class="box"> |
|
10 | 8 | <table width="100%"> |
|
11 | 9 | <tr> |
@@ -46,13 +44,12 end %> | |||
|
46 | 44 | <b><%=l(:field_description)%> :</b><br /><br /> |
|
47 | 45 | <%= textilizable @issue.description %> |
|
48 | 46 | <br /> |
|
49 | <div style="float:left;"> | |
|
50 | <% if authorize_for('issues', 'edit') %> | |
|
51 |
|
|
|
52 | <%= submit_tag l(:button_edit) %> | |
|
53 | <%= end_form_tag %> | |
|
54 | | |
|
55 | <% end %> | |
|
47 | ||
|
48 | <div class="contextual"> | |
|
49 | <%= link_to_if_authorized l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue}, :class => 'pic picEdit' %> | |
|
50 | <%= link_to_if_authorized l(:button_move), {:controller => 'projects', :action => 'move_issues', :id => @project, "issue_ids[]" => @issue.id }, :class => 'pic picMove' %> | |
|
51 | <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
|
52 | </div> | |
|
56 | 53 | |
|
57 | 54 | <% if authorize_for('issues', 'change_status') and @status_options and !@status_options.empty? %> |
|
58 | 55 | <%= start_form_tag ({:controller => 'issues', :action => 'change_status', :id => @issue}) %> |
@@ -62,26 +59,8 end %> | |||
|
62 | 59 | </select> |
|
63 | 60 | <%= submit_tag l(:button_change) %> |
|
64 | 61 | <%= end_form_tag %> |
|
65 | | |
|
66 | 62 | <% end %> |
|
67 | 63 | |
|
68 | <% if authorize_for('projects', 'move_issues') %> | |
|
69 | <%= start_form_tag ({:controller => 'projects', :action => 'move_issues', :id => @project} ) %> | |
|
70 | <%= hidden_field_tag "issue_ids[]", @issue.id %> | |
|
71 | <%= submit_tag l(:button_move) %> | |
|
72 | <%= end_form_tag %> | |
|
73 | | |
|
74 | <% end %> | |
|
75 | </div> | |
|
76 | <div style="float:right;"> | |
|
77 | <% if authorize_for('issues', 'destroy') %> | |
|
78 | <%= start_form_tag ({:controller => 'issues', :action => 'destroy', :id => @issue} ) %> | |
|
79 | <%= submit_tag l(:button_delete) %> | |
|
80 | <%= end_form_tag %> | |
|
81 | | |
|
82 | <% end %> | |
|
83 | </div> | |
|
84 | <div class="clear"></div> | |
|
85 | 64 | </div> |
|
86 | 65 | |
|
87 | 66 | <div id="history" class="box"> |
@@ -1,27 +1,23 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to_if_authorized l(:button_edit), {:controller => 'news', :action => 'edit', :id => @news}, :class => 'pic picEdit' %> | |
|
3 | <%= link_to_if_authorized l(:button_delete), {:controller => 'news', :action => 'destroy', :id => @news}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
|
4 | </div> | |
|
5 | ||
|
1 | 6 | <h2><%= @news.title %></h2> |
|
2 | 7 | |
|
3 | 8 | <p><em><%= @news.summary %><br /> |
|
4 | 9 | <%= @news.author.display_name %>, <%= format_time(@news.created_on) %></em></p> |
|
5 | 10 | <br /> |
|
6 | 11 | <%= textilizable auto_link @news.description %> |
|
7 | ||
|
8 | <div style="float:right;"> | |
|
9 | <% if authorize_for('news', 'destroy') %> | |
|
10 | <%= start_form_tag ({:controller => 'news', :action => 'destroy', :id => @news}) %> | |
|
11 | <%= submit_tag l(:button_delete) %> | |
|
12 | <%= end_form_tag %> | |
|
13 | <% end %> | |
|
14 | </div> | |
|
15 | ||
|
16 | <p><%= link_to_if_authorized l(:button_edit), :controller => 'news', :action => 'edit', :id => @news %></p> | |
|
12 | <br /> | |
|
17 | 13 | |
|
18 | 14 | <div id="comments" style="margin-bottom:16px;"> |
|
19 | 15 | <h3><%= l(:label_comment_plural) %></h3> |
|
20 | 16 | <% @news.comments.each do |comment| %> |
|
21 | 17 | <% next if comment.new_record? %> |
|
22 | 18 | <h4><%= format_time(comment.created_on) %> - <%= comment.author.name %></h4> |
|
23 | <div style="float:right;"> | |
|
24 |
|
|
|
19 | <div class="contextual"> | |
|
20 | <%= link_to_if_authorized l(:button_delete), {:controller => 'news', :action => 'destroy_comment', :id => @news, :comment_id => comment}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
|
25 | 21 | </div> |
|
26 | 22 | <%= simple_format(auto_link(h comment.comment))%> |
|
27 | 23 | <% end if @news.comments_count > 0 %> |
@@ -1,10 +1,10 | |||
|
1 | <h2><%= l(:label_gantt) %></h2> | |
|
2 | <div class="topright"> | |
|
3 | <small> | |
|
4 | <%= l(:label_export_to) %> <%= link_to 'PDF', :zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf' %> | |
|
5 | </small> | |
|
1 | <div class="contextual"> | |
|
2 | <%= l(:label_export_to) %> | |
|
3 | <%= link_to 'PDF', {:zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf'}, :class => 'pic picPdf' %> | |
|
6 | 4 | </div> |
|
7 | 5 | |
|
6 | <h2><%= l(:label_gantt) %></h2> | |
|
7 | ||
|
8 | 8 | <table width="100%"> |
|
9 | 9 | <tr> |
|
10 | 10 | <td align="left"> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to_if_authorized l(:label_document_new), {:controller => 'projects', :action => 'add_document', :id => @project}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_document_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <% if @documents.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %> |
@@ -17,7 +21,3 | |||
|
17 | 21 | <% end %> |
|
18 | 22 | </ul> |
|
19 | 23 | <% end %> |
|
No newline at end of file | ||
|
20 | ||
|
21 | <p> | |
|
22 | <%= link_to_if_authorized '» ' + l(:label_document_new), :controller => 'projects', :action => 'add_document', :id => @project %> | |
|
23 | </p> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to_if_authorized l(:label_attachment_new), {:controller => 'projects', :action => 'add_file', :id => @project}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_attachment_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <% delete_allowed = authorize_for('versions', 'destroy_file') %> |
@@ -26,9 +30,9 | |||
|
26 | 30 | <td align="center"><small><%= file.digest %></small></td> |
|
27 | 31 | <% if delete_allowed %> |
|
28 | 32 | <td align="center"> |
|
29 | <%= start_form_tag :controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file %> | |
|
30 | <%= submit_tag l(:button_delete), :class => "button-small" %> | |
|
31 | <%= end_form_tag %> | |
|
33 | <div class="contextual"> | |
|
34 | <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy_file', :id => version, :attachment_id => file}, :confirm => l(:text_are_you_sure), :post => true, :class => 'pic picDelete' %> | |
|
35 | </div> | |
|
32 | 36 | </td> |
|
33 | 37 | <% end %> |
|
34 | 38 | </tr> |
@@ -37,10 +41,3 | |||
|
37 | 41 | <% end %> |
|
38 | 42 | <% end %> |
|
39 | 43 |
</table> |
|
No newline at end of file | ||
|
40 | ||
|
41 | <br /> | |
|
42 | <p> | |
|
43 | <%= link_to_if_authorized '» ' + l(:label_attachment_new), :controller => 'projects', :action => 'add_file', :id => @project %> | |
|
44 | </p> | |
|
45 | ||
|
46 |
@@ -1,12 +1,11 | |||
|
1 | <h2><%=l(:label_issue_plural)%></h2> | |
|
2 | <div class="topright"> | |
|
3 | <small> | |
|
4 | <%= l(:label_export_to) %> | |
|
5 | <%= link_to 'CSV', :action => 'export_issues_csv', :id => @project %>, | |
|
6 | <%= link_to 'PDF', :action => 'export_issues_pdf', :id => @project %> | |
|
7 | </small> | |
|
1 | <div class="contextual"> | |
|
2 | <%= l(:label_export_to) %> | |
|
3 | <%= link_to 'CSV', {:action => 'export_issues_csv', :id => @project}, :class => 'pic picCsv' %>, | |
|
4 | <%= link_to 'PDF', {:action => 'export_issues_pdf', :id => @project}, :class => 'pic picPdf' %> | |
|
8 | 5 | </div> |
|
9 | 6 | |
|
7 | <h2><%=l(:label_issue_plural)%></h2> | |
|
8 | ||
|
10 | 9 | <%= start_form_tag :action => 'list_issues' %> |
|
11 | 10 | <table cellpadding=2> |
|
12 | 11 | <tr> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to_if_authorized l(:label_news_new), {:controller => 'projects', :action => 'add_news', :id => @project}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_news_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <% if @news.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %> |
@@ -14,6 +18,3 | |||
|
14 | 18 | |
|
15 | 19 | |
|
16 | 20 | <%= pagination_links_full @news_pages %> |
|
17 | <p> | |
|
18 | <%= link_to_if_authorized '» ' + l(:label_news_new), :controller => 'projects', :action => 'add_news', :id => @project %> | |
|
19 | </p> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to l(:label_role_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_role_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <table class="listTableContent"> |
@@ -16,6 +20,3 | |||
|
16 | 20 | </table> |
|
17 | 21 | |
|
18 | 22 | <%= pagination_links_full @role_pages %> |
|
No newline at end of file | ||
|
19 | <br /> | |
|
20 | ||
|
21 | <%= link_to '» ' + l(:label_role_new), :action => 'new' %> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_tracker_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <table class="listTableContent"> |
@@ -17,6 +21,3 | |||
|
17 | 21 | </table> |
|
18 | 22 | |
|
19 | 23 | <%= pagination_links_full @tracker_pages %> |
|
No newline at end of file | ||
|
20 | <br /> | |
|
21 | ||
|
22 | <%= link_to '» ' + l(:label_tracker_new), :action => 'new' %> |
@@ -1,3 +1,7 | |||
|
1 | <div class="contextual"> | |
|
2 | <%= link_to l(:label_user_new), {:action => 'add'}, :class => 'pic picAdd' %> | |
|
3 | </div> | |
|
4 | ||
|
1 | 5 | <h2><%=l(:label_user_plural)%></h2> |
|
2 | 6 | |
|
3 | 7 | <table class="listTableContent"> |
@@ -40,7 +44,3 | |||
|
40 | 44 | <p><%= pagination_links_full @user_pages %> |
|
41 | 45 | [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ] |
|
42 | 46 |
</p> |
|
No newline at end of file | ||
|
43 | ||
|
44 | <p> | |
|
45 | <%= link_to '» ' + l(:label_user_new), :action => 'add' %> | |
|
46 | </p> No newline at end of file |
@@ -7,6 +7,7 http://redmine.org/ | |||
|
7 | 7 | |
|
8 | 8 | == xx/xx/2006 v0.x.x |
|
9 | 9 | |
|
10 | * comments can now be added on news | |
|
10 | 11 | * "my page" is now customizable |
|
11 | 12 | * improved issues change history |
|
12 | 13 | * new functionality: move an issue to another project or tracker |
|
1 | NO CONTENT: modified file, binary diff hidden |
|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -128,6 +128,14 background-color: #80b0da; | |||
|
128 | 128 | .picLogout { background: url(../images/logout.png) no-repeat 4px 50%; } |
|
129 | 129 | .picHelp { background: url(../images/help.png) no-repeat 4px 50%; } |
|
130 | 130 | |
|
131 | .picEdit { background: url(../images/edit_small.png) no-repeat 4px 50%; } | |
|
132 | .picDelete { background: url(../images/delete.png) no-repeat 4px 50%; } | |
|
133 | .picAdd { background: url(../images/add.png) no-repeat 4px 50%; } | |
|
134 | .picMove { background: url(../images/move.png) no-repeat 4px 50%; } | |
|
135 | .picPdf { background: url(../images/pdf.png) no-repeat 4px 50%;} | |
|
136 | .picCsv { background: url(../images/csv.png) no-repeat 4px 50%;} | |
|
137 | ||
|
138 | .pic { padding-left: 18px; margin-left: 3px; } | |
|
131 | 139 | /**************** Content styles ****************/ |
|
132 | 140 | |
|
133 | 141 | html>body #content { |
@@ -247,7 +255,7 legend { | |||
|
247 | 255 | |
|
248 | 256 | table.listTableContent { |
|
249 | 257 | border:1px solid #578bb8; |
|
250 |
width: |
|
|
258 | width:100%; | |
|
251 | 259 | border-collapse: collapse; |
|
252 | 260 | } |
|
253 | 261 | |
@@ -458,6 +466,14 img.calendar-trigger { | |||
|
458 | 466 | margin-left: 34px; |
|
459 | 467 | } |
|
460 | 468 | |
|
469 | /***** Contextual links div *****/ | |
|
470 | .contextual { | |
|
471 | float: right; | |
|
472 | font-size: 0.8em; | |
|
473 | } | |
|
474 | ||
|
475 | ||
|
476 | ||
|
461 | 477 | /***** CSS FORM ******/ |
|
462 | 478 | .tabular p{ |
|
463 | 479 | margin: 0; |
General Comments 0
You need to be logged in to leave comments.
Login now