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

11 lines
761 B

<div class="tabs">
<ul>
<%= render partial: 'timelog/time_entry_tab', locals: { tab_title: l(:label_details),
tab_path: polymorphic_time_entries_path(@issue || @project),
tab_selected: (request.path == polymorphic_time_entries_path(@issue || @project)) }%>
<%= render partial: 'timelog/time_entry_tab', locals: { tab_title: l(:label_report),
tab_path: polymorphic_time_entries_report_path(@issue || @project),
tab_selected: (request.path != polymorphic_time_entries_path(@issue || @project)) }%>
</ul>
</div>