blob: 45e312f58c490e8d741f15a862ddc9ef9b779f1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php print_unescaped($this->inc('part.content.cronwarning')) ?>
<div id="explore">
<div ng-repeat="(category, data) in Explore.sites | orderBy:'category.toLowerCase()'"
ng-if="Explore.isCategoryShown(data)"
class="explore-section">
<h2>{{ category }}</h2>
<ul>
<li ng-repeat="entry in data | orderBy:'-votes'" ng-if="!Explore.feedExists(entry.feed)">
<h3 ng-show="entry.favicon"
ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}">
<a target="_blank" ng-href="{{ entry.url }}">{{ entry.title }}</a>
</h3>
<h3 ng-hide="entry.favicon" class="icon-rss">
{{ entry.title }}
</h3>
<div class="explore-content">
{{ entry.description }}
<div class="explore-logo">
<img ng-src="{{ entry.image }}" ng-if="entry.image">
</div>
</div>
<div class="explore-subscribe">
<button ng-click="Explore.subscribeTo(entry.feed)">
<?php p($l->t('Subscribe')) ?>
</button>
</div>
</li>
</ul>
</div>
</div>
|