Sha256: 9124f3f80b6586e8aac646410a2d71f1a5e01c59bb32709a3a4d8bb2f297f3db

Contents?: true

Size: 1.43 KB

Versions: 44

Compression:

Stored size: 1.43 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 link_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 : (@backlog && @backlog.periods.first ? @backlog.periods.first.id : nil))} ) end %>
        <h4><%=h @period.name %> (<%=@period.start_on%> - <%=@period.end_on%>)</h4>
      </div>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
backlog-0.2.1 app/views/periods/_title.rhtml
backlog-0.3.0 app/views/periods/_title.rhtml
backlog-0.3.1 app/views/periods/_title.rhtml
backlog-0.3.2 app/views/periods/_title.rhtml
backlog-0.3.3 app/views/periods/_title.rhtml
backlog-0.3.4 app/views/periods/_title.rhtml
backlog-0.3.5 app/views/periods/_title.rhtml
backlog-0.3.6 app/views/periods/_title.rhtml
backlog-0.3.8 app/views/periods/_title.rhtml
backlog-0.3.7 app/views/periods/_title.rhtml
backlog-0.3.9 app/views/periods/_title.rhtml
backlog-0.5.0 app/views/periods/_title.rhtml
backlog-0.4.0 app/views/periods/_title.rhtml
backlog-0.5.1 app/views/periods/_title.rhtml
backlog-0.5.10 app/views/periods/_title.rhtml
backlog-0.5.2 app/views/periods/_title.rhtml
backlog-0.5.3 app/views/periods/_title.rhtml
backlog-0.5.4 app/views/periods/_title.rhtml
backlog-0.5.6 app/views/periods/_title.rhtml
backlog-0.5.5 app/views/periods/_title.rhtml