blob: 3ae47c91653cd9acca1065effaa601f2a14ce093 (
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
|
<?php print_unescaped($this->inc('part.content.cronwarning')) ?>
<div id="explore">
<div ng-repeat="(category, data) in Explore.sites | orderBy:'category.toLowerCase()'" class="explore-section">
<h2>{{ category }}</h2>
<ul>
<li ng-repeat="entry in data | orderBy:'-votes'" ng-if="!Explore.feedExists(entry.url)">
<h3 ng-show="entry.favicon"
ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}">
{{ entry.title }}
</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.url)">
<?php p($l->t('Subscribe')) ?>
</button>
</div>
</li>
</ul>
</div>
</div>
|