git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2338 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/0.9.0
@@ -79,7 +79,7 @@ | |||
:class => 'icon-copy', :disabled => !@can[:copy] %></li> | |||
<% if @can[:log_time] -%> | |||
<li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, | |||
:class => 'icon-time' %></li> | |||
:class => 'icon-time-add' %></li> | |||
<% end %> | |||
<% end %> | |||
@@ -1,6 +1,6 @@ | |||
<div class="contextual"> | |||
<%= 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)) %> | |||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time' %> | |||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %> | |||
<%= watcher_tag(@issue, User.current) %> | |||
<%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-copy' %> | |||
<%= link_to_if_authorized l(:button_move), {:controller => 'issues', :action => 'move', :id => @issue }, :class => 'icon icon-move' %> | |||
@@ -34,7 +34,7 @@ | |||
<td class="category"><b><%=l(:field_category)%>:</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td> | |||
<% if User.current.allowed_to?(:view_time_entries, @project) %> | |||
<td class="spent-time"><b><%=l(:label_spent_time)%>:</b></td> | |||
<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> | |||
<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> | |||
<% end %> | |||
</tr> | |||
<tr> |
@@ -1,5 +1,5 @@ | |||
<div class="contextual"> | |||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time' %> | |||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %> | |||
</div> | |||
<%= render_timelog_breadcrumb %> |
@@ -1,5 +1,5 @@ | |||
<div class="contextual"> | |||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time' %> | |||
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :project_id => @project, :issue_id => @issue}, :class => 'icon icon-time-add' %> | |||
</div> | |||
<%= render_timelog_breadcrumb %> |
@@ -626,6 +626,7 @@ vertical-align: middle; | |||
.icon-index { background-image: url(../images/index.png); } | |||
.icon-history { background-image: url(../images/history.png); } | |||
.icon-time { background-image: url(../images/time.png); } | |||
.icon-time-add { background-image: url(../images/time_add.png); } | |||
.icon-stats { background-image: url(../images/stats.png); } | |||
.icon-warning { background-image: url(../images/warning.png); } | |||
.icon-fav { background-image: url(../images/fav.png); } |