1
0
Fork 0
miniflux/template/html/feeds.html

29 lines
828 B
HTML
Raw Normal View History

{{ define "title"}}{{ t "page.feeds.title" }} ({{ .total }}){{ end }}
2017-11-20 00:10:04 -05:00
{{ define "content"}}
<section class="page-header">
<h1>{{ t "page.feeds.title" }} ({{ .total }})</h1>
2017-11-20 00:10:04 -05:00
<ul>
<li>
<a href="{{ route "addSubscription" }}">{{ t "menu.add_feed" }}</a>
2017-11-20 00:10:04 -05:00
</li>
<li>
<a href="{{ route "export" }}">{{ t "menu.export" }}</a>
2017-11-20 00:10:04 -05:00
</li>
<li>
<a href="{{ route "import" }}">{{ t "menu.import" }}</a>
2017-11-20 00:10:04 -05:00
</li>
<li>
<a href="{{ route "refreshAllFeeds" }}">{{ t "menu.refresh_all_feeds" }}</a>
</li>
2017-11-20 00:10:04 -05:00
</ul>
</section>
{{ if not .feeds }}
<p class="alert">{{ t "alert.no_feed" }}</p>
2017-11-20 00:10:04 -05:00
{{ else }}
2019-11-17 22:44:12 -05:00
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
2017-11-20 00:10:04 -05:00
{{ end }}
{{ end }}