Patch #31224 » my_page_time_entry_queries_icons_SVN.diff
| app/views/my/blocks/_calendar.html.erb | ||
|---|---|---|
| 1 |
<h3><%= l(:label_calendar) %></h3>
|
|
| 1 |
<h3><span class="icon icon-calendar"><%= l(:label_calendar) %></span></h3>
|
|
| 2 | 2 | |
| 3 | 3 |
<%= render :partial => 'common/calendar', :locals => {:calendar => calendar } %>
|
| app/views/my/blocks/_documents.html.erb | ||
|---|---|---|
| 1 |
<h3><%=l(:label_document_plural)%></h3>
|
|
| 1 |
<h3><span class="icon icon-document"><%=l(:label_document_plural)%></span></h3>
|
|
| 2 | 2 | |
| 3 | 3 |
<%= render :partial => 'documents/document', :collection => documents %> |
| app/views/my/blocks/_issues.erb | ||
|---|---|---|
| 4 | 4 | |
| 5 | 5 |
<h3> |
| 6 | 6 |
<%= "#{query.project} |" if query.project %>
|
| 7 |
<%= link_to query.name, _project_issues_path(query.project, query.as_params) %>
|
|
| 7 |
<span class="icon icon-issue"><%= link_to query.name, _project_issues_path(query.project, query.as_params) %></span>
|
|
| 8 | 8 |
(<%= query.issue_count %>) |
| 9 | 9 |
</h3> |
| 10 | 10 | |
| app/views/my/blocks/_news.html.erb | ||
|---|---|---|
| 1 |
<h3><%=l(:label_news_latest)%></h3>
|
|
| 1 |
<h3><span class="icon icon-news"><%=l(:label_news_latest)%></span></h3>
|
|
| 2 | 2 | |
| 3 | 3 |
<%= render :partial => 'news/news', :collection => news %> |
| app/views/my/blocks/_timelog.html.erb | ||
|---|---|---|
| 3 | 3 |
</div> |
| 4 | 4 | |
| 5 | 5 |
<h3> |
| 6 |
<%= link_to l(:label_spent_time), time_entries_path(:user_id => 'me') %> |
|
| 7 |
(<%= l(:label_last_n_days, days) %>: <%= l_hours_short entries.sum(&:hours) %>) |
|
| 6 |
<span class="icon icon-time"><%= link_to l(:label_spent_time), time_entries_path(:user_id => 'me') %>
|
|
| 7 |
(<%= l(:label_last_n_days, days) %>: <%= l_hours_short entries.sum(&:hours) %>)</span>
|
|
| 8 | 8 |
<%= link_to l(:button_log_time), new_time_entry_path, :class => "icon-only icon-add", :title => l(:button_log_time) if User.current.allowed_to?(:log_time, nil, :global => true) %> |
| 9 | 9 |
</h3> |
| 10 | 10 | |
| app/views/my/blocks/_timelogs.erb | ||
|---|---|---|
| 4 | 4 | |
| 5 | 5 |
<h3> |
| 6 | 6 |
<%= "#{query.project} |" if query.project %>
|
| 7 |
<%= link_to query.name, _time_entries_path(query.project, nil, query.as_params) %>
|
|
| 7 |
<span class="icon icon-time"><%= link_to query.name, _time_entries_path(query.project, nil, query.as_params) %></span>
|
|
| 8 | 8 |
(<%= scope.count %>) |
| 9 | 9 |
</h3> |
| 10 | 10 | |