Sha256: e606d399f694fb95cec74322f2a12ae89b512ad515d9c2e43aaaac1ad4f427e1

Contents?: true

Size: 1.82 KB

Versions: 1

Compression:

Stored size: 1.82 KB

Contents

      <div class="btitle">
        <%=link_to(image_tag(url_for("hammer.png"), :alt => l(:weekly_work_sheet), :title => l(:weekly_work_sheet), :class => 'image-submit'), :controller => 'works', :action => 'weekly_work_sheet')%>
        <%=link_to(image_tag(url_for("hammer.png"), :alt => l(:edit_works), :title => l(:edit_works), :class => 'image-submit'), :controller => 'periods', :action => 'list_work', :id => (@period ? @period.id : (@backlog && @backlog.periods.first ? @backlog.periods.first.id : nil)))%>
        <%=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("clipboard.png"), :alt => l(:backlog), :title => l(:backlog), :class => 'image-submit'), :controller => 'backlogs', :action => :edit, :id => @period.backlog) %>
        <%=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', :period_id => (@period ? @period.id : (@backlog && @backlog.periods.first ? @backlog.periods.first.id : nil))) end %>
        <h4><%=h @period.backlog.name %>#<%= @period.position%> (<%=@period.start_on%> - <%=@period.end_on%>)</h4>
      </div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
backlog-0.0.4 app/views/periods/_title.rhtml