Sha256: 8cc0d18cf5c39e4559dba39902c518aff0845c61120675cf1c8721e0b1dc0484

Contents?: true

Size: 925 Bytes

Versions: 4

Compression:

Stored size: 925 Bytes

Contents

<% @page_title = "#{l :work_accounts}"%>

<div id="spotlight">
    <div class="btitle">
		<%=image_detour_to 'add.png', l(:new_work_account), :action => 'new' %>
		<h4><%=@page_title%></h4>
    </div>

<table>
  <tr>
    <th><%=l :name %></th>
    <th><%=l :track_times %></th>
    <th><%=l :invoice_code %></th>
  </tr>
  
<% for work_account in @work_accounts %>
  <tr>
    <td><%=link_to h(work_account.name), :action => 'show', :id => work_account %></td>
    <td align="right"><%=work_account.track_times? %></td>
    <td><%=h(work_account.invoice_code) %></td>
    <td><%= link_to 'Edit', :action => 'edit', :id => work_account %></td>
    <td><%= link_to 'Destroy', { :action => 'destroy', :id => work_account }, :confirm => 'Are you sure?', :method => :post %></td>
  </tr>
<% end %>
</table>

<%=will_paginate @work_accounts %>

  <%=back_or_link_to l(:back), :controller => 'welcome', :action => 'index' %>

</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
backlog-0.29.0 app/views/work_accounts/list.rhtml
backlog-0.30.0 app/views/work_accounts/list.rhtml
backlog-0.31.0 app/views/work_accounts/list.rhtml
backlog-0.31.1 app/views/work_accounts/list.rhtml