Sha256: 9faa200da211c82ae5b0d00a2cb0ba6d6eda297a03812cec5b4fdeb7546057ee

Contents?: true

Size: 841 Bytes

Versions: 11

Compression:

Stored size: 841 Bytes

Contents

<% @page_title = "#{l(:work_account)} #{l(:work_account)}" %>

<div id="spotlight">
    <div class="btitle">
		<h4><%=@work_account.name%></h4>
    </div>

  <table>
  	<% for backlog in @backlog_totals.keys %>
  		<tr>
  			<th><%=backlog ? backlog.name : l(:no_backlog)%></th>
			<th><%=@backlog_totals[backlog]%></th>
  		</tr>
  		<% for task, hours in @task_totals_per_backlog[backlog] %>
  		<tr>
  			<td>
  				<% if task %>
				  <%=link_to task.description, :controller => 'tasks', :action => :edit, :id => task.id %>
				<% end %>
			</td>
			<td align="right" valign="top"><%='%.2f' % hours%></td>
  		</tr>
		<% end %>
	<% end %>
  	<tr>
  		<th>Total hours</th>
		<th><%=@total_hours%></th>
  	</tr>
  </table>

	<%= link_to 'Edit', :action => 'edit', :id => @work_account %> |
	<%= link_to 'Back', :action => 'list' %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
backlog-0.17.6 app/views/work_accounts/show.rhtml
backlog-0.18.0 app/views/work_accounts/show.rhtml
backlog-0.19.0 app/views/work_accounts/show.rhtml
backlog-0.20.0 app/views/work_accounts/show.rhtml
backlog-0.20.1 app/views/work_accounts/show.rhtml
backlog-0.21.0 app/views/work_accounts/show.rhtml
backlog-0.21.1 app/views/work_accounts/show.rhtml
backlog-0.21.2 app/views/work_accounts/show.rhtml
backlog-0.21.3 app/views/work_accounts/show.rhtml
backlog-0.22.0 app/views/work_accounts/show.rhtml
backlog-0.22.1 app/views/work_accounts/show.rhtml