Sha256: eff3b238b68699ac5f08a642d8a1f6bcf11f995d96bd1974552a51b251927c35
Contents?: true
Size: 1.17 KB
Versions: 14
Compression:
Stored size: 1.17 KB
Contents
<% user_parameter = @user != current_user ? @user.id : nil %> <div style="float: left"><%=link_to(image_tag('arrow_left.png'), :year => (@week > 1 ? @year : @year - 1), :week => (@week > 1 ? @week - 1 : 52), :user_id => user_parameter)%></div> <div style="float: right"><%=link_to(image_tag('arrow_right.png'), :year => (@week < 52 ? @year : @year + 1), :week => (@week < 52 ? @week + 1 : 1), :user_id => user_parameter)%></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(:totals), :action => :weekly_work_sheet, :year => @year, :week => @week %>] <% end %> <%unless controller.action_name == 'weekly_work_sheet_details'%> [<%=link_to l(:details), :action => :weekly_work_sheet_details, :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
14 entries across 14 versions & 1 rubygems