Permalink
Browse files

Show relatedness done status on index

  • Loading branch information...
1 parent f15c85e commit ffa95ca31e079550eb54cc3ef6bda9ca1e7b5ff9 @craigw craigw committed Jan 6, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 app/views/artefacts/index.html.erb
@@ -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>
@@ -34,4 +36,4 @@
$(function () {
$('#solution-list').tablesorter();
});
-</script>
+</script>

0 comments on commit ffa95ca

Please sign in to comment.