2018-09-22 03:53:29 +02:00
|
|
|
{{ define "title"}}{{ t "page.feeds.title" }} ({{ .total }}){{ end }}
|
2017-11-20 06:10:04 +01:00
|
|
|
|
|
|
|
{{ define "content"}}
|
|
|
|
<section class="page-header">
|
2018-09-22 03:53:29 +02:00
|
|
|
<h1>{{ t "page.feeds.title" }} ({{ .total }})</h1>
|
2017-11-20 06:10:04 +01:00
|
|
|
<ul>
|
|
|
|
<li>
|
2018-09-22 03:53:29 +02:00
|
|
|
<a href="{{ route "addSubscription" }}">{{ t "menu.add_feed" }}</a>
|
2017-11-20 06:10:04 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-09-22 03:53:29 +02:00
|
|
|
<a href="{{ route "export" }}">{{ t "menu.export" }}</a>
|
2017-11-20 06:10:04 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-09-22 03:53:29 +02:00
|
|
|
<a href="{{ route "import" }}">{{ t "menu.import" }}</a>
|
2017-11-20 06:10:04 +01:00
|
|
|
</li>
|
2017-11-22 07:36:00 +01:00
|
|
|
<li>
|
2018-09-22 03:53:29 +02:00
|
|
|
<a href="{{ route "refreshAllFeeds" }}">{{ t "menu.refresh_all_feeds" }}</a>
|
2017-11-22 07:36:00 +01:00
|
|
|
</li>
|
2017-11-20 06:10:04 +01:00
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{ if not .feeds }}
|
2018-09-22 03:53:29 +02:00
|
|
|
<p class="alert">{{ t "alert.no_feed" }}</p>
|
2017-11-20 06:10:04 +01:00
|
|
|
{{ else }}
|
2019-11-18 04:44:12 +01:00
|
|
|
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
|
2017-11-20 06:10:04 +01:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|