OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/timelog/_time_entry_tabs.html.erb

9 lines
623 B

<div class="tabs">
<% url_params = @free_period ? { :from => @from, :to => @to } : { :period => params[:period] } %>
<ul>
<li><%= link_to(l(:label_details), polymorphic_time_entries_path(@issue || @project),
:class => (request.path == polymorphic_time_entries_path(@issue || @project) ? 'selected' : nil)) %></li>
<li><%= link_to(l(:label_report), polymorphic_time_entries_report_path(@issue || @project),
:class => (request.path == polymorphic_time_entries_report_path(@issue || @project) ? 'selected' : nil)) %></li>
</ul>
</div>