2013-03-22 23:54:52 +01:00
|
|
|
<div ng-controller="FeedListCtrl">
|
2013-03-23 17:56:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="toolbar">
|
|
|
|
|
<div class="btn-group" data-toggle="buttons-radio">
|
|
|
|
|
<button type="button" class="btn" ng-model="readType" btn-radio="'all'" ng-click="refreshList()">All</button>
|
|
|
|
|
<button type="button" class="btn" ng-model="readType" btn-radio="'unread'" ng-click="refreshList()">Unread only</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
2013-03-22 23:54:52 +01:00
|
|
|
<span>{{entryList.name}}</span><span
|
|
|
|
|
ng-show="selectedType == 'category'"> »</span>
|
|
|
|
|
<div class="accordion" id="feed-accordion">
|
|
|
|
|
<div class="accordion-group" ng-repeat="entry in entryList.entries">
|
|
|
|
|
<div class="accordion-heading">
|
|
|
|
|
<a class="accordion-toggle" data-toggle="collapse"
|
2013-03-23 17:17:27 +01:00
|
|
|
ng-click="mark(entry, true)"
|
2013-03-22 23:54:52 +01:00
|
|
|
ng-class="{unread: entry.read == false}"
|
|
|
|
|
data-parent="#feed-accordion" href="{{'#feed-body' + $index}}">
|
|
|
|
|
<span ng-show="selectedType == 'category'">{{entry.feedName}}
|
|
|
|
|
- </span>{{entry.title}} <span class="pull-right">{{entry.date}}</span>
|
|
|
|
|
</a>
|
2013-03-21 16:22:58 +01:00
|
|
|
</div>
|
2013-03-22 23:54:52 +01:00
|
|
|
<div id="{{'feed-body' + $index}}" class="accordion-body collapse">
|
|
|
|
|
<div class="accordion-inner" ng-bind-html="entry.content"></div>
|
2013-03-21 19:51:00 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-03-21 16:22:58 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|