c891ab2588
- refresh: https://tabler-icons.io/i/refresh - edit: https://tabler-icons.io/i/edit - delete: https://tabler-icons.io/i/delete - mark page as read: https://tabler-icons.io/i/check - mark all as read: https://tabler-icons.io/i/checks - show all entries: https://tabler-icons.io/i/eye - show only unread entries: https://tabler-icons.io/i/eye-off - create category: https://tabler-icons.io/i/folder-plus - add subscription: https://tabler-icons.io/i/plus - import: https://tabler-icons.io/i/file-import - export: https://tabler-icons.io/i/file-export - categories: https://tabler-icons.io/i/folders
34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{{ define "title"}}{{ .category.Title }} > {{ t "page.feeds.title" }} ({{ .total }}){{ end }}
|
|
|
|
{{ define "content"}}
|
|
<section class="page-header">
|
|
<h1 dir="auto">{{ .category.Title }} > {{ t "page.feeds.title" }} ({{ .total }})</h1>
|
|
<ul>
|
|
<li>
|
|
<a href="{{ route "categoryEntries" "categoryID" .category.ID }}">{{ icon "entries" }}{{ t "menu.feed_entries" }}</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route "editCategory" "categoryID" .category.ID }}">{{ icon "edit" }}{{ t "menu.edit_category" }}</a>
|
|
</li>
|
|
{{ if eq .total 0 }}
|
|
<li>
|
|
<a href="#"
|
|
data-confirm="true"
|
|
data-label-question="{{ t "confirm.question" }}"
|
|
data-label-yes="{{ t "confirm.yes" }}"
|
|
data-label-no="{{ t "confirm.no" }}"
|
|
data-label-loading="{{ t "confirm.loading" }}"
|
|
data-redirect-url="{{ route "categories" }}"
|
|
data-url="{{ route "removeCategory" "categoryID" .category.ID }}">{{ icon "delete" }}{{ t "action.remove" }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</section>
|
|
|
|
{{ if not .feeds }}
|
|
<p class="alert">{{ t "alert.no_feed_in_category" }}</p>
|
|
{{ else }}
|
|
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
|
|
{{ end }}
|
|
|
|
{{ end }}
|