Project

General

Profile

« Previous | Next » 

Revision 2338

Changes time related icons.

View differences:

trunk/app/views/issues/context_menu.rhtml
79 79
	        :class => 'icon-copy', :disabled => !@can[:copy] %></li>
80 80
	<% if @can[:log_time] -%>
81 81
	<li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue},
82
	        :class => 'icon-time' %></li>
82
	        :class => 'icon-time-add' %></li>
83 83
	<% end %>
84 84
<% end %>
85 85

  
trunk/app/views/issues/show.rhtml
1 1
<div class="contextual">
2 2
<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
3
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time' %>
3
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %>
4 4
<%= watcher_tag(@issue, User.current) %>
5 5
<%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %>
6 6
<%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => @issue }, :class => 'icon icon-move' %>
......
34 34
    <td class="category"><b><%=l(:field_category)%>:</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td>
35 35
    <% if User.current.allowed_to?(:view_time_entries, @project) %>
36 36
    <td class="spent-time"><b><%=l(:label_spent_time)%>:</b></td>
37
    <td class="spent-hours"><%= @issue.spent_hours > 0 ? (link_to lwr(:label_f_hour, @issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time') : "-" %></td>
37
    <td class="spent-hours"><%= @issue.spent_hours > 0 ? (link_to lwr(:label_f_hour, @issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}) : "-" %></td>
38 38
    <% end %>
39 39
</tr>
40 40
<tr>
trunk/app/views/timelog/details.rhtml
1 1
<div class="contextual">
2
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time' %>
2
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %>
3 3
</div>
4 4

  
5 5
<%= render_timelog_breadcrumb %>
trunk/app/views/timelog/report.rhtml
1 1
<div class="contextual">
2
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time' %>
2
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %>
3 3
</div>
4 4

  
5 5
<%= render_timelog_breadcrumb %>
trunk/public/stylesheets/application.css
626 626
.icon-index  { background-image: url(../images/index.png); }
627 627
.icon-history  { background-image: url(../images/history.png); }
628 628
.icon-time  { background-image: url(../images/time.png); }
629
.icon-time-add  { background-image: url(../images/time_add.png); }
629 630
.icon-stats  { background-image: url(../images/stats.png); }
630 631
.icon-warning  { background-image: url(../images/warning.png); }
631 632
.icon-fav  { background-image: url(../images/fav.png); }

Also available in: Unified diff