// 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 }}
Git Commit {{ .commit }}
{{ 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": "504b3635a7f898c12a1120c2270a2911aa8378c0fa272ea0980feca1fa3161f2",
"add_subscription": "bc0f878b37692a00d51e834536f211843a59703991d2a743ef204b9d6ae38549",
"api_keys": "27d401b31a72881d5232486ba17eb47edaf5246eaedce81de88698c15ebb2284",
"bookmark_entries": "eacbbdce7fa85ec66c4c12f02879daab562a17ff79f1aac1805617e83e3a3a42",
"categories": "9dfc3cb7bb91c7750753fe962ee4540dd1843e5f75f9e0a575ee964f6f9923e9",
"category_entries": "ef3005f8f4c96182587acbf31b979cc26b1ac8f755a74cd5a25681260f4b6d63",
"category_feeds": "07154127087f9b127f7290abad6020c35ad9ceb2490b869120b7628bc4413808",
"choose_subscription": "22109d760ea8079c491561d0106f773c885efbf66f87d81fcf8700218260d2a0",
"create_api_key": "2fbd74342176b9970d9162a54da99186589621e4c005566a5368fc4a7994ad20",
"create_category": "6b22b5ce51abf4e225e23a79f81be09a7fb90acb265e93a8faf9446dff74018d",
"create_user": "cca0dbdbd846639d5295707de0674e5e75df987dd22b80d75f030f8daa503a85",
"edit_category": "b1c0b38f1b714c5d884edcd61e5b5295a5f1c8b71c469b35391e4dcc97cc6d36",
"edit_feed": "3da1edc78a464f33359663028f0b3fd11706b98e0c3851b090a20ccb2f780b02",
"edit_user": "04423f5ea4249a97440ddd892f99ff96c646f6ce26313765ac5293abf257ef3c",
"entry": "07ccdd5b9e99c63872bcab44b70b347cb59424fc8b69fd671b99b832c47277cc",
"feed_entries": "89977ea86b8d43305d587b70e6d9c45c2c88249b3966f2d31051dc7a5f1c48b6",
"feeds": "ec7d3fa96735bd8422ba69ef0927dcccddc1cc51327e0271f0312d3f881c64fd",
"history_entries": "261b47e5f2f699a9cef1b3b690f80d7aabf585d05b77d67645d623f7ff6c0fbb",
"import": "1b59b3bd55c59fcbc6fbb346b414dcdd26d1b4e0c307e437bb58b3f92ef01ad1",
"integrations": "92d5ab36361f9a2e2b9b7e2318494123f4976d4410daf117810ebf6eca8250b6",
"login": "9165434b2405e9332de4bebbb54a93dc5692276ea72e7c5e07f655a002dfd290",
"search_entries": "6a3e5876cb7541a2f08f56e30ab46a2d7d64894ec5e170f627b2dd674d8aeefe",
"sessions": "5d5c677bddbd027e0b0c9f7a0dd95b66d9d95b4e130959f31fb955b926c2201c",
"settings": "8e90e9e48c62990c2aca217054cb4e122e4ed58c377e28d4c150e2d2d22ebe74",
"shared_entries": "f87a42bf44dc3606c5a44b185263c1b9a612a8ae194f75061253d4dde7b095a2",
"unread_entries": "21c584da7ca8192655c62f16a7ac92dbbfdf1307588ffe51eb4a8bbf3f9f7526",
"users": "d7ff52efc582bbad10504f4a04fa3adcc12d15890e45dff51cac281e0c446e45",
}