Sha256: d1f4ae5024f82254c631d8befa02e73825ae8d14d90c96ac321d2d123d905604
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
<div class="btitle"> <%= render :partial => '/works/buttons'%> <%=if @period.lower_item then link_to(image_tag(url_for("arrow_right.png"), :alt => "#{l :next} #{l :period}", :title => "#{l :next} #{l :period}", :class => 'image-submit'), :controller => 'periods', :action => :show, :id => @period.lower_item) end%> <%=link_to(image_tag(url_for("period.png"), :alt => l(:period), :title => l(:period), :class => 'image-submit'), :controller => 'periods', :action => :edit, :id => @period) %> <%=detour_to(image_tag(url_for(@period.party.to_sym.to_s + ".png"), :alt => l(@period.party.to_sym), :title => l(@period.party.to_sym), :class => 'image-submit'), :controller => @period.party.controller, :action => :edit, :id => @period.party) %> <%=if @period.higher_item then link_to(image_tag(url_for("arrow_left.png"), :alt => "#{l :previous} #{l :period}", :title => "#{l :previous} #{l :period}", :class => 'image-submit'), :controller => 'periods', :action => :show, :id => @period.higher_item) end%> <%=unless @period.passed? then detour_to(image_tag(url_for("add.png"), :alt => l(:add_task), :title => l(:add_task), :class => 'image-submit'), :controller => 'tasks', :action => 'new', :task => {:period_id => (@period ? @period.id : (@project && @project.periods.first ? @project.periods.first.id : nil))} ) end %> <h4><%=h @period.name %> (<%=@period.start_on%> - <%=@period.end_on%>) <% filter_style = {:style => 'float: none; vertical-align: bottom'} %> <% if @show_only_grabbed_tasks %> <%=image_link_to('grab.png', l(:release_task), {'cookies[show_only_grabbed_tasks]' => 'false'}, filter_style, false)%> <% else %> <%=image_link_to('grab_gray.png', l(:grab_task), {'cookies[show_only_grabbed_tasks]' => 'true'}, filter_style, false)%> <% end %> </h4> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
backlog-0.37.2 | app/views/periods/_title.rhtml |
backlog-0.37.1 | app/views/periods/_title.rhtml |