diff options
Diffstat (limited to 'templates/part.content.php')
-rw-r--r-- | templates/part.content.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index eaf8d925a..18351d453 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -7,6 +7,30 @@ </ul> <ul ng-if="!isCompactView()"> + <li class="article" + ng-repeat="item in Content.getItems() | orderBy:[Content.orderBy()] track by item.id" + ng-click="Content.markRead(item.id)" + ng-class="{read: !item.unread}"> + <h2 class="date"> + <span class="timeago" title="{{item.pubDate*1000|date:'dd-MM-yyyy'}}"> + {{ getRelativeDate(item.pubDate) }} + </span> + </h2> + + <button class="star" + ng-click="Content.toggleStar(item.id)" + ng-class="{starred: item.starred}"></button> + + <h1 class="title"> + <a target="_blank" ng-href="{{ item.url }}"> + {{ item.title }} + </a> + </h1> + + <div class="item_body" news-bind-html-unsafe="item.body"></div> + + + </li> </ul> </div> |