2013-03-22 23:54:52 +01:00
|
|
|
<div ng-controller="FeedListCtrl">
|
2013-03-27 12:13:56 +01:00
|
|
|
|
2013-03-27 13:59:57 +01:00
|
|
|
<div class="entrylist-header">
|
|
|
|
|
<h3><span>{{entryList.name}} </span><span ng-show="entryList.name && selectedType == 'category'"> »</span></h3>
|
|
|
|
|
</div>
|
|
|
|
|
|
2013-03-25 21:01:29 +01:00
|
|
|
<div id="feed-accordion" infinite-scroll="loadMoreEntries()" infinite-scroll-disabled="busy" infinite-scroll-distance="1">
|
2013-03-26 12:10:19 +01:00
|
|
|
<accordion close-others="true">
|
|
|
|
|
<accordion-group ng-repeat="entry in entryList.entries" class="entry">
|
|
|
|
|
<accordion-heading>
|
|
|
|
|
<div class="entry-heading" ng-click="toggle(entry)" ng-class="{unread: entry.read == false, open: current == entry, closed: current != entry}">
|
|
|
|
|
<span ng-show="selectedType == 'category'">{{entry.feedName}}
|
|
|
|
|
- </span>{{entry.title}} <span class="pull-right">{{entry.date}}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</accordion-heading>
|
2013-03-27 09:50:52 +01:00
|
|
|
<div class="entry-body">
|
2013-03-25 14:58:15 +01:00
|
|
|
<div>
|
|
|
|
|
<h4>
|
|
|
|
|
<a href="{{entry.url}}" target="_blank">{{entry.title}}</a>
|
|
|
|
|
</h4>
|
|
|
|
|
</div>
|
2013-03-27 16:42:05 +01:00
|
|
|
<div ng-bind-html-unsafe="entry.content" ui-if="isOpen && current == entry"></div>
|
2013-03-25 14:58:15 +01:00
|
|
|
</div>
|
2013-03-26 12:10:19 +01:00
|
|
|
</accordion-group>
|
|
|
|
|
</accordion>
|
2013-03-25 21:01:29 +01:00
|
|
|
<div class="no-entries" ng-show="entryList.entries.length == 0">"{{entryList.name}}" has no unread items.</div>
|
2013-03-25 13:52:02 +01:00
|
|
|
<div ng-show="busy">Loading data...</div>
|
2013-03-21 16:22:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|