Files
redmine/app/views/wl_national_holiday/index.html.erb
Roman Vaníček 580eedcab2 Squashed 'plugins/redmine_workload/' content from commit f94bb00
git-subtree-dir: plugins/redmine_workload
git-subtree-split: f94bb00e5eb387a55379714b8f58fb6f35517174
2023-03-24 11:34:26 +01:00

19 lines
690 B
Plaintext

<div class="contextual">
<%= render_action_links %>
<%= call_hook(:view_wl_menu_extension) %>
</div>
<h2><%= l(:workload_holiday_title)%></h2>
<%= link_to l(:label_new), {controller: "wl_national_holiday", action: "new"}, class: "icon icon-add" if @is_allowed%>
<p id="year-nav" >
<%= link_to "<<", :controller => 'wl_national_holiday', :action => "index", :year => @this_year-1 %>
<%= @this_year %>
<%= link_to ">>", :controller => 'wl_national_holiday', :action => "index", :year => @this_year+1 %>
</p>
<% unless @wl_national_holiday.empty?%>
<%= render(partial: "show_list", locals: {wl_national_holiday: @wl_national_holiday, is_allowed: @is_allowed}) %>
<%end%>