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

Version Path
backlog-0.21.1 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.21.2 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.21.3 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.22.1 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.22.0 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.23.0 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.23.1 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.24.0 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.25.0 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.26.0 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.28.0 app/views/works/_weekly_work_sheet_buttons.rhtml
backlog-0.29.0 app/views/works/_weekly_work_sheet_buttons.rhtml