Sha256: 0a5afba813ad652ff4f2f3878f5731f202d68df72c97a7381cfc2167104a45af

Contents?: true

Size: 1.43 KB

Versions: 45

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 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 : (@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

45 entries across 45 versions & 1 rubygems

Version Path
backlog-0.10.1 app/views/periods/_title.rhtml
backlog-0.10.0 app/views/periods/_title.rhtml
backlog-0.10.3 app/views/periods/_title.rhtml
backlog-0.10.2 app/views/periods/_title.rhtml
backlog-0.10.5 app/views/periods/_title.rhtml
backlog-0.10.4 app/views/periods/_title.rhtml
backlog-0.10.6 app/views/periods/_title.rhtml
backlog-0.10.7 app/views/periods/_title.rhtml
backlog-0.11.0 app/views/periods/_title.rhtml
backlog-0.12.0 app/views/periods/_title.rhtml
backlog-0.10.8 app/views/periods/_title.rhtml
backlog-0.12.2 app/views/periods/_title.rhtml
backlog-0.12.1 app/views/periods/_title.rhtml
backlog-0.12.4 app/views/periods/_title.rhtml
backlog-0.12.3 app/views/periods/_title.rhtml
backlog-0.13.1 app/views/periods/_title.rhtml
backlog-0.13.0 app/views/periods/_title.rhtml
backlog-0.14.0 app/views/periods/_title.rhtml
backlog-0.14.1 app/views/periods/_title.rhtml
backlog-0.14.2 app/views/periods/_title.rhtml