about.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {{ define "title"}}{{ t "page.about.title" }}{{ end }}
  2. {{ define "page_header"}}
  3. <section class="page-header" aria-labelledby="page-header-title">
  4. <h1 id="page-header-title">{{ t "page.about.title" }}</h1>
  5. {{ template "settings_menu" dict "user" .user }}
  6. </section>
  7. {{ end }}
  8. {{ define "content"}}
  9. <div class="panel">
  10. <h3>Miniflux</h3>
  11. <ul>
  12. <li><strong>{{ t "page.about.version" }}</strong> <a href="https://github.com/miniflux/v2/releases/tag/{{ .version }}">{{ .version }}</a></li>
  13. {{ if .commit }}
  14. <li><strong>{{ t "page.about.git_commit" }}</strong> <a href="https://github.com/miniflux/v2/commit/{{ .commit }}">{{ .commit }}</a></li>
  15. {{ end }}
  16. <li><strong>{{ t "page.about.build_date" }}</strong> {{ .build_date }}</li>
  17. <li><strong>{{t "page.about.go_version" }}</strong> {{ .go_version }}</li>
  18. {{ if .user.IsAdmin }}
  19. <li><strong>{{ t "page.about.postgres_version" }}</strong> {{ .postgres_version }}</li>
  20. <li><strong>{{t "page.about.db_usage" }}</strong> {{ .db_usage }}</li>
  21. {{ end }}
  22. </ul>
  23. </div>
  24. <div class="panel">
  25. <h3>{{ t "page.about.credits" }}</h3>
  26. <ul>
  27. <li><strong>{{ t "page.about.author" }}</strong> Frédéric Guillot</li>
  28. <li><strong>{{ t "page.about.license" }}</strong> <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a></li>
  29. </ul>
  30. </div>
  31. {{ if .user.IsAdmin }}
  32. <div class="panel">
  33. <h3>{{ t "page.about.global_config_options" }}</h3>
  34. <ul>
  35. {{ range .globalConfigOptions }}
  36. <li><code><strong>{{ .Key }}</strong>={{ .Value }}</code></li>
  37. {{ end }}
  38. </ul>
  39. </div>
  40. {{ end }}
  41. {{ end }}