diff --git a/app/views/timelog/_sidebar.html.erb b/app/views/timelog/_sidebar.html.erb index f54a73f..b9ffe73 100644 --- a/app/views/timelog/_sidebar.html.erb +++ b/app/views/timelog/_sidebar.html.erb @@ -1,10 +1 @@ -

<%= l(:label_spent_time) %>

- - - <%= render_sidebar_queries(TimeEntryQuery, @project) %> diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb index 0ce69ca..2de1218 100644 --- a/app/views/timelog/index.html.erb +++ b/app/views/timelog/index.html.erb @@ -5,6 +5,11 @@ <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'activities'}, :class => 'icon icon-settings' if User.current.allowed_to?(:manage_project_activities, @project) %> +<%= actions_dropdown do %> + <% if User.current.allowed_to?(:log_time, @project, :global => true) %> + <%= link_to l(:button_import), new_time_entries_import_path %> + <% end %> +<% end %>

<%= @query.new_record? ? l(:label_spent_time) : @query.name %>