miniflux/internal/template/templates/views/about.html

40 lines
1.3 KiB
HTML
Raw Normal View History

{{ define "title"}}{{ t "page.about.title" }}{{ end }}
2017-11-20 06:10:04 +01:00
{{ define "content"}}
<section class="page-header">
<h1>{{ t "page.about.title" }}</h1>
2019-11-18 02:26:47 +01:00
{{ template "settings_menu" dict "user" .user }}
2017-11-20 06:10:04 +01:00
</section>
<div class="panel">
<h3>Miniflux</h3>
2017-11-20 06:10:04 +01:00
<ul>
<li><strong>{{ t "page.about.version" }}</strong> <a href="https://github.com/miniflux/v2/releases/tag/{{ .version }}">{{ .version }}</a></li>
<li><strong>Git Commit</strong> <a href="https://github.com/miniflux/v2/commit/{{ .commit }}">{{ .commit }}</a></li>
<li><strong>{{ t "page.about.build_date" }}</strong> {{ .build_date }}</li>
2021-02-16 16:37:24 +01:00
{{ if .user.IsAdmin }}<li><strong>{{ t "page.about.postgres_version" }}</strong> {{ .postgres_version }}</li>{{ end }}
<li><strong>{{t "page.about.go_version" }}</strong> {{ .go_version }}</li>
2017-11-20 06:10:04 +01:00
</ul>
</div>
<div class="panel">
<h3>{{ t "page.about.credits" }}</h3>
2017-11-20 06:10:04 +01:00
<ul>
<li><strong>{{ t "page.about.author" }}</strong> Frédéric Guillot</li>
<li><strong>{{ t "page.about.license" }}</strong> Apache 2.0</li>
2017-11-20 06:10:04 +01:00
</ul>
</div>
{{ if .user.IsAdmin }}
<div class="panel">
<h3>{{ t "page.about.global_config_options" }}</h3>
<ul>
{{ range .globalConfigOptions }}
<li><code><strong>{{ .Key }}</strong>={{ .Value }}</code></li>
{{ end }}
</ul>
</div>
{{ end }}
2017-11-20 06:10:04 +01:00
{{ end }}