Merge "Add 'Remove this story' button to detail page"

This commit is contained in:
Jenkins 2015-09-21 09:28:52 +00:00 committed by Gerrit Code Review
commit ec0f5651cd

View File

@ -51,7 +51,12 @@
<i class="fa fa-pencil"></i> <i class="fa fa-pencil"></i>
</a> </a>
<subscribe resource="story" <subscribe resource="story"
resource-id="story.id"></subscribe> resource-id="story.id"></subscribe>
<button type="button"
class="btn btn-link"
ng-click="remove()" permission="is_superuser">
Remove this story
</button>
</small> </small>
</h1> </h1>
<p><strong>Author:</strong> <p><strong>Author:</strong>