mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-18 21:32:23 +01:00
Update the articles module to implement the style guidelines. Much of this work is from @trainerbill Closes #874 Closes #339
24 lines
794 B
HTML
24 lines
794 B
HTML
<section>
|
|
<div class="page-header">
|
|
<h1 ng-bind="vm.article.title"></h1>
|
|
</div>
|
|
<div class="pull-right" ng-show="vm.authentication.user._id == vm.article.user._id">
|
|
<a class="btn btn-primary" ui-sref="articles.edit({ articleId: vm.article._id })">
|
|
<i class="glyphicon glyphicon-edit"></i>
|
|
</a>
|
|
<a class="btn btn-primary" ng-click="vm.remove()">
|
|
<i class="glyphicon glyphicon-trash"></i>
|
|
</a>
|
|
</div>
|
|
<small>
|
|
<em class="text-muted">
|
|
Posted on
|
|
<span ng-bind="vm.article.created | date:'mediumDate'"></span>
|
|
by
|
|
<span ng-if="vm.article.user" ng-bind="vm.article.user.displayName"></span>
|
|
<span ng-if="!vm.article.user">Deleted User</span>
|
|
</em>
|
|
</small>
|
|
<p class="lead" ng-bind="vm.article.content"></p>
|
|
</section>
|