4
0

about.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {{ define "title"}}{{ t "page.about.title" }}{{ end }}
  2. {{ define "content"}}
  3. <section class="page-header">
  4. <h1>{{ t "page.about.title" }}</h1>
  5. {{ template "settings_menu" dict "user" .user }}
  6. </section>
  7. <div class="panel">
  8. <h3>Miniflux</h3>
  9. <ul>
  10. <li><strong>{{ t "page.about.version" }}</strong> {{ .version }}</li>
  11. <li><strong>Git Commit</strong> {{ .commit }}</li>
  12. <li><strong>{{ t "page.about.build_date" }}</strong> {{ .build_date }}</li>
  13. {{ if .user.IsAdmin }}<li><strong>{{ t "page.about.postgres_version" }}</strong> {{ .postgres_version }}</li>{{ end }}
  14. <li><strong>{{t "page.about.go_version" }}</strong> {{ .go_version }}</li>
  15. </ul>
  16. </div>
  17. <div class="panel">
  18. <h3>{{ t "page.about.credits" }}</h3>
  19. <ul>
  20. <li><strong>{{ t "page.about.author" }}</strong> Frédéric Guillot</li>
  21. <li><strong>{{ t "page.about.license" }}</strong> Apache 2.0</li>
  22. </ul>
  23. </div>
  24. {{ if .user.IsAdmin }}
  25. <div class="panel">
  26. <h3>{{ t "page.about.global_config_options" }}</h3>
  27. <ul>
  28. {{ range .globalConfigOptions }}
  29. <li><code><strong>{{ .Key }}</strong>={{ .Value }}</code></li>
  30. {{ end }}
  31. </ul>
  32. </div>
  33. {{ end }}
  34. {{ end }}