// Code generated by go generate; DO NOT EDIT.
package template // import "miniflux.app/template"
var templateViewsMap = map[string]string{
"about": `{{ define "title"}}{{ t "page.about.title" }}{{ end }}
{{ define "content"}}
Miniflux
{{ t "page.about.version" }} {{ .version }}
{{ t "page.about.build_date" }} {{ .build_date }}
{{ t "page.about.credits" }}
{{ t "page.about.author" }} Frédéric Guillot
{{ t "page.about.license" }} Apache 2.0
{{ end }}
`,
"add_subscription": `{{ define "title"}}{{ t "page.add_feed.title" }}{{ end }}
{{ define "content"}}
{{ if not .categories }}
{{ t "page.add_feed.no_category" }}
{{ else }}
{{ end }}
{{ end }}
`,
"api_keys": `{{ define "title"}}{{ t "page.api_keys.title" }}{{ end }}
{{ define "content"}}
{{ if .apiKeys }}
{{ range .apiKeys }}
{{ t "page.api_keys.table.description" }}
{{ .Description }}
{{ t "page.api_keys.table.token" }}
{{ .Token }}
{{ t "page.api_keys.table.last_used_at" }}
{{ if .LastUsedAt }}
{{ elapsed $.user.Timezone .LastUsedAt }}
{{ else }}
{{ t "page.api_keys.never_used" }}
{{ end }}
{{ t "page.api_keys.table.created_at" }}
{{ elapsed $.user.Timezone .CreatedAt }}
{{ t "page.api_keys.table.actions" }}
{{ t "action.remove" }}
{{ end }}
{{ end }}
{{ t "page.integration.miniflux_api" }}
{{ t "page.integration.miniflux_api_endpoint" }} = {{ baseURL }}/v1/
{{ t "page.integration.miniflux_api_username" }} = {{ .user.Username }}
{{ t "page.integration.miniflux_api_password" }} = {{ t "page.integration.miniflux_api_password_value" }}
{{ t "menu.create_api_key" }}
{{ end }}
`,
"bookmark_entries": `{{ define "title"}}{{ t "page.starred.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_bookmark" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"categories": `{{ define "title"}}{{ t "page.categories.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .categories }}
{{ t "alert.no_category" }}
{{ else }}
{{ range .categories }}
{{ end }}
{{ end }}
{{ end }}
`,
"category_entries": `{{ define "title"}}{{ .category.Title }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_category_entry" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"category_feeds": `{{ define "title"}}{{ .category.Title }} > {{ t "page.feeds.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .feeds }}
{{ t "alert.no_feed_in_category" }}
{{ else }}
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
{{ end }}
{{ end }}
`,
"choose_subscription": `{{ define "title"}}{{ t "page.add_feed.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"create_api_key": `{{ define "title"}}{{ t "page.new_api_key.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"create_category": `{{ define "title"}}{{ t "page.new_category.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"create_user": `{{ define "title"}}{{ t "page.new_user.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"edit_category": `{{ define "title"}}{{ t "page.edit_category.title" .category.Title }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"edit_feed": `{{ define "title"}}{{ t "page.edit_feed.title" .feed.Title }}{{ end }}
{{ define "content"}}
{{ if not .categories }}
{{ t "page.add_feed.no_category" }}
{{ else }}
{{ if ne .feed.ParsingErrorCount 0 }}
{{ t "page.edit_feed.last_parsing_error" }}
{{ t .feed.ParsingErrorMsg }}
{{ end }}
{{ t "page.edit_feed.last_check" }} {{ elapsed $.user.Timezone .feed.CheckedAt }}
{{ t "page.edit_feed.etag_header" }} {{ if .feed.EtagHeader }}{{ .feed.EtagHeader }}{{ else }}{{ t "page.edit_feed.no_header" }}{{ end }}
{{ t "page.edit_feed.last_modified_header" }} {{ if .feed.LastModifiedHeader }}{{ .feed.LastModifiedHeader }}{{ else }}{{ t "page.edit_feed.no_header" }}{{ end }}
{{ end }}
{{ end }}
`,
"edit_user": `{{ define "title"}}{{ t "page.edit_user.title" .selected_user.Username }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"entry": `{{ define "title"}}{{ .entry.Title }}{{ end }}
{{ define "content"}}
{{ if gt (len .entry.Content) 120 }}
{{ if .user }}
{{ end }}
{{ end }}
{{ if .user }}
{{ noescape (proxyFilter .entry.Content) }}
{{ else }}
{{ noescape .entry.Content }}
{{ end }}
{{ if .entry.Enclosures }}
{{ t "page.entry.attachments" }} ({{ len .entry.Enclosures }})
{{ range .entry.Enclosures }}
{{ if ne .URL "" }}
{{ if hasPrefix .MimeType "audio/" }}
{{ else if hasPrefix .MimeType "video/" }}
{{ else if hasPrefix .MimeType "image/" }}
{{ if $.user }}
{{ else }}
{{ end }}
{{ end }}
{{ .URL | safeURL }}
{{ if gt .Size 0 }} - {{ formatFileSize .Size }} {{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if .user }}
{{ end }}
{{ end }}
`,
"feed_entries": `{{ define "title"}}{{ .feed.Title }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if ne .feed.ParsingErrorCount 0 }}
{{ t "alert.feed_error" }}
{{ t .feed.ParsingErrorMsg }}
{{ end }}
{{ if not .entries }}
{{ if .showOnlyUnreadEntries }}
{{ t "alert.no_unread_entry" }}
{{ else }}
{{ t "alert.no_feed_entry" }}
{{ end }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"feeds": `{{ define "title"}}{{ t "page.feeds.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .feeds }}
{{ t "alert.no_feed" }}
{{ else }}
{{ template "feed_list" dict "user" .user "feeds" .feeds "ParsingErrorCount" .ParsingErrorCount }}
{{ end }}
{{ end }}
`,
"history_entries": `{{ define "title"}}{{ t "page.history.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_history" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"import": `{{ define "title"}}{{ t "page.import.title" }}{{ end }}
{{ define "content"}}
{{ if .errorMessage }}
{{ t .errorMessage }}
{{ end }}
{{ end }}
`,
"integrations": `{{ define "title"}}{{ t "page.integrations.title" }}{{ end }}
{{ define "content"}}
{{ t "page.integration.bookmarklet" }}
{{ t "page.integration.bookmarklet.help" }}
{{ t "page.integration.bookmarklet.instructions" }}
{{ end }}
`,
"login": `{{ define "title"}}{{ t "page.login.title" }}{{ end }}
{{ define "content"}}
{{ end }}
`,
"search_entries": `{{ define "title"}}{{ t "page.search.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_search_result" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}
`,
"sessions": `{{ define "title"}}{{ t "page.sessions.title" }}{{ end }}
{{ define "content"}}
{{ t "page.sessions.table.date" }}
{{ t "page.sessions.table.ip" }}
{{ t "page.sessions.table.user_agent" }}
{{ t "page.sessions.table.actions" }}
{{ range .sessions }}
{{ elapsed $.user.Timezone .CreatedAt }}
{{ .IP }}
{{ .UserAgent }}
{{ if eq .Token $.currentSessionToken }}
{{ t "page.sessions.table.current_session" }}
{{ else }}
{{ t "action.remove" }}
{{ end }}
{{ end }}
{{ end }}
`,
"settings": `{{ define "title"}}{{ t "page.settings.title" }}{{ end }}
{{ define "content"}}
{{ if hasOAuth2Provider "google" }}
{{ else if hasOAuth2Provider "oidc" }}
{{ end }}
{{ end }}
`,
"shared_entries": `{{ define "title"}}{{ t "page.shared_entries.title" }} ({{ .total }}){{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_shared_entry" }}
{{ else }}
{{ range .entries }}
{{ end }}
{{ end }}
{{ end }}
`,
"unread_entries": `{{ define "title"}}{{ t "page.unread.title" }} {{ if gt .countUnread 0 }}({{ .countUnread }}){{ end }} {{ end }}
{{ define "content"}}
{{ if not .entries }}
{{ t "alert.no_unread_entry" }}
{{ else }}
{{ range .entries }}
{{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }}
{{ end }}
{{ template "pagination" .pagination }}
{{ end }}
{{ end }}`,
"users": `{{ define "title"}}{{ t "page.users.title" }}{{ end }}
{{ define "content"}}
{{ if eq (len .users) 1 }}
{{ t "alert.no_user" }}
{{ else }}
{{ t "page.users.username" }}
{{ t "page.users.is_admin" }}
{{ t "page.users.last_login" }}
{{ t "page.users.actions" }}
{{ range .users }}
{{ if ne .ID $.user.ID }}
{{ .Username }}
{{ if eq .IsAdmin true }}{{ t "page.users.admin.yes" }}{{ else }}{{ t "page.users.admin.no" }}{{ end }}
{{ if .LastLoginAt }}
{{ elapsed $.user.Timezone .LastLoginAt }}
{{ else }}
{{ t "page.users.never_logged" }}
{{ end }}
{{ t "action.edit" }} ,
{{ t "action.remove" }}
{{ end }}
{{ end }}
{{ end }}
{{ t "menu.add_user" }}
{{ end }}
`,
}
var templateViewsMapChecksums = map[string]string{
"about": "4035658497363d7af7f79be83190404eb21ec633fe8ec636bdfc219d9fc78cfc",
"add_subscription": "0dbea93b6fc07423fa066122ad960c69616b829533371a2dbadec1e22d4f1ae0",
"api_keys": "27d401b31a72881d5232486ba17eb47edaf5246eaedce81de88698c15ebb2284",
"bookmark_entries": "65588da78665699dd3f287f68325e9777d511f1a57fee4131a5bb6d00bb68df8",
"categories": "7a927a2c28ae60c995df9d94220153418d3bd31bf35e0800980a215b1a6a80c7",
"category_entries": "dee7b9cd60c6c46f01dd4289940679df31c1fce28ce4aa7249fa459023e1eeb4",
"category_feeds": "527c2ffbc4fcec775071424ba1022ae003525dba53a28cc41f48fb7b30aa984b",
"choose_subscription": "84c9730cadd78e6ee5a6b4c499aab33acddb4324ac01924d33387543eec4d702",
"create_api_key": "5f74d4e92a6684927f5305096378c8be278159a5cd88ce652c7be3280a7d1685",
"create_category": "6b22b5ce51abf4e225e23a79f81be09a7fb90acb265e93a8faf9446dff74018d",
"create_user": "9b73a55233615e461d1f07d99ad1d4d3b54532588ab960097ba3e090c85aaf3a",
"edit_category": "b1c0b38f1b714c5d884edcd61e5b5295a5f1c8b71c469b35391e4dcc97cc6d36",
"edit_feed": "635bb8f7b927f3216ccd35cc6d9edd4b2af96e8677a14766a86fb77fa9fb4e38",
"edit_user": "c692db9de1a084c57b93e95a14b041d39bf489846cbb91fc982a62b72b77062a",
"entry": "d8c30d412d58e14c946ba682166f7c582948e7b0f657d04dcbc3d004267627bb",
"feed_entries": "9c70b82f55e4b311eff20be1641733612e3c1b406ce8010861e4c417d97b6dcc",
"feeds": "ec7d3fa96735bd8422ba69ef0927dcccddc1cc51327e0271f0312d3f881c64fd",
"history_entries": "93c0c4cc541eec7f07f5c2634f250ea82ac64024939179276b6f636b72c189bf",
"import": "1b59b3bd55c59fcbc6fbb346b414dcdd26d1b4e0c307e437bb58b3f92ef01ad1",
"integrations": "30329452743b35c668278f519245fd9be05c1726856e0384ba542f7c307f2788",
"login": "79ff2ca488c0a19b37c8fa227a21f73e94472eb357a51a077197c852f7713f11",
"search_entries": "274950d03298c24f3942e209c0faed580a6d57be9cf76a6c236175a7e766ac6a",
"sessions": "5d5c677bddbd027e0b0c9f7a0dd95b66d9d95b4e130959f31fb955b926c2201c",
"settings": "3ab566c3220c62edc3edc51f2e93c1101b728e9f62f52f23de6bc6322d86aeb6",
"shared_entries": "19caea053664220bb9519df295eb2a17cf5836eaa9104b7ee24c60b88bb524e9",
"unread_entries": "e38f7ffce17dfad3151b08cd33771a2cefe8ca9db42df04fc98bd1d675dd6075",
"users": "d7ff52efc582bbad10504f4a04fa3adcc12d15890e45dff51cac281e0c446e45",
}