diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index 671655db..68565681 100644 --- a/app/views/issues/context_menu.rhtml +++ b/app/views/issues/context_menu.rhtml @@ -79,7 +79,7 @@ :class => 'icon-copy', :disabled => !@can[:copy] %> <% if @can[:log_time] -%>
  • <%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, - :class => 'icon-time' %>
  • + :class => 'icon-time-add' %> <% end %> <% end %> diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 57fcb738..8742ce60 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -1,6 +1,6 @@
    <%= 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 @@ <%=l(:field_category)%>:<%=h @issue.category ? @issue.category.name : "-" %> <% if User.current.allowed_to?(:view_time_entries, @project) %> <%=l(:label_spent_time)%>: - <%= @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') : "-" %> + <%= @issue.spent_hours > 0 ? (link_to lwr(:label_f_hour, @issue.spent_hours), {:controller => 'timelog', :action => 'details', :project_id => @project, :issue_id => @issue}) : "-" %> <% end %> diff --git a/app/views/timelog/details.rhtml b/app/views/timelog/details.rhtml index d78b384f..f4ae68aa 100644 --- a/app/views/timelog/details.rhtml +++ b/app/views/timelog/details.rhtml @@ -1,5 +1,5 @@
    -<%= 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' %>
    <%= render_timelog_breadcrumb %> diff --git a/app/views/timelog/report.rhtml b/app/views/timelog/report.rhtml index f41a1b51..5f3ed09b 100644 --- a/app/views/timelog/report.rhtml +++ b/app/views/timelog/report.rhtml @@ -1,5 +1,5 @@
    -<%= 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' %>
    <%= render_timelog_breadcrumb %> diff --git a/public/images/time.png b/public/images/time.png index 81aa780e..911da3f1 100644 Binary files a/public/images/time.png and b/public/images/time.png differ diff --git a/public/images/time_add.png b/public/images/time_add.png new file mode 100644 index 00000000..dcc45cb2 Binary files /dev/null and b/public/images/time_add.png differ diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 76add4f2..e65d41e6 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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); }