Start using the presenters in the views

This commit is contained in:
Rowan Manning
2013-09-25 12:03:23 +01:00
parent 8d4002860e
commit d3cedfc889
2 changed files with 3 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
</li>
{{#tasks}}
<li class="col-md-4 col-sm-6 task-card">
<a class="well task-card-link crunch-bottom" title="Details for URL {{simplify-url url}}" href="/{{id}}">
<a class="well task-card-link crunch-bottom" title="Details for URL {{simplify-url url}}" href="{{href}}">
<p class="h3">{{simplify-url url}}</p>
<p class="h5">({{standard}})</p>
{{#if last_result}}
@@ -24,7 +24,7 @@
<p class="no-results">No results</p>
{{/if}}
</a>
<a title="Delete this URL" class="delete-button" href="/{{id}}/delete"><span class="sr-only">Delete </span><span class="glyphicon glyphicon-remove"></span></a>
<a title="Delete this URL" class="delete-button" href="{{hrefDelete}}"><span class="sr-only">Delete </span><span class="glyphicon glyphicon-remove"></span></a>
</li>
{{/tasks}}
</ul>