Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Commit

Permalink
Show relatedness done status on index
Browse files Browse the repository at this point in the history
  • Loading branch information
craigw committed Jan 6, 2012
1 parent f15c85e commit ffa95ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/views/artefacts/index.html.erb
Expand Up @@ -6,15 +6,17 @@
<th>Title</th>
<th>Section</th>
<th>Related Items</th>
<th>Relatedness Done?</th>
<th>Slug</th>
</tr>
</thead>
<tbody>
<% @artefacts.each do |artefact| %>
<tr>
<td><%= link_to artefact.name, edit_artefact_path(artefact.id) %></td>
<td><%= artefact.section %></td>
<td><%= artefact.related_items_count %></td>
<td><%=h artefact.section %></td>
<td><%=h artefact.related_items_count %></td>
<td><%=h artefact.relatedness_done %></td>
<td><%= link_to artefact.slug, "https://www.gov.uk/#{artefact.slug}" %></td>
<% end %>
</tbody>
Expand All @@ -34,4 +36,4 @@
$(function () {
$('#solution-list').tablesorter();
});
</script>
</script>

0 comments on commit ffa95ca

Please sign in to comment.