Debian Codegraph @

internal/template/templates/views/feeds.html

raw
1 {{ define "title"}}{{ t "page.feeds.title" }} ({{ .total }}){{ end }}
2
3 {{ define "page_header"}}
4 <section class="page-header" aria-labelledby="page-header-title">
5 <h1 id="page-header-title">{{ t "page.feeds.title" }} ({{ .total }})</h1>
6 {{ template "feed_menu" dict "csrf" .csrf }}
7 </section>
8 {{ end }}
9
10 {{ define "content"}}
11 {{ if not .feeds }}
12 <p role="alert" class="alert">{{ t "alert.no_feed" }}</p>
13 {{ else }}
14 {{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount "csrf" .csrf }}
15 {{ end }}
16
17 {{ end }}