Patch #31598 » move_links_under_the_dropdown.patch
| app/views/timelog/_sidebar.html.erb | ||
|---|---|---|
|
<h3><%= l(:label_spent_time) %></h3>
|
||
|
<ul>
|
||
|
<li><%= link_to l(:label_time_entries_visibility_all), _time_entries_path(@project, nil, :set_filter => 1) %></li>
|
||
|
<% if User.current.allowed_to?(:log_time, @project, :global => true) %>
|
||
|
<li><%= link_to l(:button_import), new_time_entries_import_path %></li>
|
||
|
<% end %>
|
||
|
</ul>
|
||
|
<%= render_sidebar_queries(TimeEntryQuery, @project) %>
|
||
| app/views/timelog/index.html.erb | ||
|---|---|---|
|
<%= 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 %>
|
||
|
</div>
|
||
|
<h2><%= @query.new_record? ? l(:label_spent_time) : @query.name %></h2>
|
||