Commit 33137f16f5ebfc523f6d507506e9509dff5520cc
1 parent
8a7d004e
Exists in
master
and in
38 other branches
Accept cover image in blog
Showing
2 changed files
with
19 additions
and
1 deletions
Show diff stats
src/app/components/noosfero-articles/blog/blog.html
1 | -<div class="page-header"> | |
1 | +<div class="blog-cover" ng-show="vm.article.image"> | |
2 | + <img ng-src="{{vm.article.image.url}}" class="img-responsive"> | |
3 | + <h3 ng-bind="vm.article.title"></h3> | |
4 | +</div> | |
5 | + | |
6 | +<div class="page-header" ng-show="!vm.article.image"> | |
2 | 7 | <h3 ng-bind="vm.article.title"></h3> |
3 | 8 | </div> |
4 | 9 | ... | ... |