Sha256: 01c9a7d114820f02f20e563f16e39b8945a73263c9446a807121202353ccc645

Contents?: true

Size: 1.39 KB

Versions: 2

Compression:

Stored size: 1.39 KB

Contents

  <tr id="work_<%=@work.id%>">
    <td>
      <%=image_detour_to('period.png', l(:period), :controller => 'periods', :action => :show, :id => @work.task.period) if @work.task %>
    </td>
    <td>
      <% if @work.task %>
      <%=link_to(@work.task.root_task.backlog.name, :controller => 'backlogs', :action => :show)%> /
      <%=link_to(@work.task.description, :controller => 'tasks', :action => :edit)%>
	  <% end %>
    </td>
    <td>
      <%=link_to(@work.work_account.name, :controller => 'work_accounts', :action => :show, :id => @work.work_account.id) if @work.work_account%>
    </td>
    <td>
      <%=in_place_editor_field :work, :description, :id => "work_#{@work.id}_description", :size => 16, :class => :task_description%>
    </td>
    <td align="right">
		<%=render :partial => 'row_field', :locals => {:field => 'started_at_time'} %>
    </td>
    <td align="right">
		<%=render :partial => 'row_field', :locals => {:field => 'completed_at_time'} %>
    </td>
    <td align="right">
      <% remote_form_for :work, :url => {:action => :update_row, :id => @work.id} do |f|%>
      	<%=f.text_field :hours_time, :value => t(@work.hours), :class => 'task_hours'%>
      <% end %>
    </td>
    <td align="right">
      <form>
      <%=image_detour_to('ernes_stop.png', l(:delete), {:controller => 'works', :action => :destroy, :id => @work, :confirm => true}, nil, true)%>
      </form>
    </td>
  </tr>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backlog-0.17.6 app/views/works/_row.rhtml
backlog-0.18.0 app/views/works/_row.rhtml