display entry author if any

This commit is contained in:
Athou
2013-06-22 21:07:06 +02:00
parent 6a0a937983
commit 9419262b59
3 changed files with 12 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ toolbar.about=About
toolbar.logout=Logout
toolbar.donate=Donate
view.entry_author=by
view.error_while_loading_feed=Error while loading this feed
view.keep_unread=Keep unread
view.no_unread_items=has no unread items.

View File

@@ -95,6 +95,12 @@
margin-top: 5px;
}
#feed-accordion .entry-body .entry-author {
display: block;
font-size: 14px;
font-weight: normal;
}
#feed-accordion .entry-body img {
display: block;
}

View File

@@ -35,8 +35,13 @@
<div class="entry-header">
<h4 class="entry-title">
<a href="{{entry.url}}" target="_blank" ng-bind-html-unsafe="entry.title"></a>
<span class="entry-author" ui-if="entry.author">
<span class="entry-author-prefix">${view.entry_author}</span>
<span class="entry-author-name">{{entry.author}}</span>
</span>
</h4>
</div>
<div class="entry-body-content">
<div ng-bind-html-unsafe="entry.content"></div>
<video controls ui-if="entry.enclosureType && entry.enclosureType.indexOf('video') == 0">