Commit 69e4619781e97d008134ff33a2583ce703b4abef
1 parent
b0848462
Exists in
master
and in
38 other branches
Add more info on article page
Showing
2 changed files
with
30 additions
and
1 deletions
Show diff stats
src/app/components/noosfero-articles/article/article.html
... | ... | @@ -2,6 +2,20 @@ |
2 | 2 | <h3 ng-bind="vm.article.title"></h3> |
3 | 3 | </div> |
4 | 4 | |
5 | -<div> | |
5 | +<div class="sub-header clearfix"> | |
6 | + <div class="page-info pull-right small text-muted"> | |
7 | + <span class="time"> | |
8 | + <i class="fa fa-clock-o"></i> <span am-time-ago="vm.article.created_at"></span> | |
9 | + </span> | |
10 | + <span class="author" ng-if="vm.article.author"> | |
11 | + <i class="fa fa-user"></i> | |
12 | + <a ui-sref="main.profile({profile: vm.article.author.identifier})"> | |
13 | + <span class="author-name" ng-bind="vm.article.author.name"></span> | |
14 | + </a> | |
15 | + </span> | |
16 | + </div> | |
17 | +</div> | |
18 | + | |
19 | +<div class="page-body"> | |
6 | 20 | <div ng-bind-html="vm.article.body"></div> |
7 | 21 | </div> | ... | ... |
src/app/components/noosfero-articles/article/article.scss
0 → 100644