Sha256: c617f8de8ba823e64dbfc2a6813d360a4327465e7766cabb437638eef5f97f2d
Contents?: true
Size: 1.07 KB
Versions: 12
Compression:
Stored size: 1.07 KB
Contents
<div style="float: left"><%=link_to(image_tag('arrow_left.png'), :year => (@week > 1 ? @year : @year - 1), :week => (@week > 1 ? @week - 1 : 52))%></div> <div style="float: right"><%=link_to(image_tag('arrow_right.png'), :year => (@week < 52 ? @year : @year + 1), :week => (@week < 52 ? @week + 1 : 1))%></div> <div align="right"> <% lock_action = @lock ? :unlock : :lock %> [<%=link_to l(lock_action), with_detour(:controller => 'work_locks', :action => lock_action, :year => @year, :week => @week) %>] <%unless controller.action_name == 'weekly_work_sheet'%> [<%=link_to l(:details), :action => :weekly_work_sheet, :year => @year, :week => @week %>] <% end %> <%unless controller.action_name == 'weekly_work_sheet_by_work_account'%> [<%=link_to l(:totals), :action => :weekly_work_sheet_by_work_account, :year => @year, :week => @week %>] <% end %> <% if @lock %> [<%=link_to l(:spreadsheet), :action => :timeliste, :year => @year, :week => @week %>] <% else %> [<%=detour_to l(:new_work), :controller => 'works', :action => :new %>] <% end %> </div> <br clear="all" />
Version data entries
12 entries across 12 versions & 1 rubygems