mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2024-11-24 22:42:46 +01:00
83cdcb016b
Fixes the problem of the vue components directory not existing. Also removed the demo components that were not meant to be committed. Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
27 lines
1.1 KiB
PHP
27 lines
1.1 KiB
PHP
<?php print_unescaped($this->inc('part.content.warnings')) ?>
|
|
|
|
<div id="explore">
|
|
<div class="grid">
|
|
<div ng-repeat="entry in Explore.feeds | filter:Explore.filter | orderBy:'-votes'" ng-show="!Explore.feedExists(entry.feed)" class="explore-feed grid-item" news-refresh-masonry>
|
|
<h2 ng-show="entry.favicon"
|
|
class="explore-title"
|
|
ng-style="{ backgroundImage: 'url(' + entry.favicon + ')'}">
|
|
<a target="_blank" rel="noreferrer" ng-href="{{ entry.url }}">{{ entry.title }}</a>
|
|
</h2>
|
|
<h2 ng-hide="entry.favicon" class="icon-rss explore-title">
|
|
{{ entry.title }}
|
|
</h2>
|
|
<div class="explore-content">
|
|
<p>{{ entry.description }}</p>
|
|
|
|
<div ng-if="entry.image" class="explore-logo">
|
|
<img ng-src="{{ entry.image }}" >
|
|
</div>
|
|
</div>
|
|
<button class="explore-subscribe" ng-click="Explore.subscribeTo(entry.feed)">
|
|
<?php p($l->t('Subscribe to')) ?> {{ entry.title }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|