about.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. </ul>
  15. </div>
  16. <div class="panel">
  17. <h3>{{ t "page.about.credits" }}</h3>
  18. <ul>
  19. <li><strong>{{ t "page.about.author" }}</strong> Frédéric Guillot</li>
  20. <li><strong>{{ t "page.about.license" }}</strong> Apache 2.0</li>
  21. </ul>
  22. </div>
  23. {{ if .user.IsAdmin }}
  24. <div class="panel">
  25. <h3>{{ t "page.about.global_config_options" }}</h3>
  26. <ul>
  27. {{ range .globalConfigOptions }}
  28. <li><code><strong>{{ .Key }}</strong>={{ .Value }}</code></li>
  29. {{ end }}
  30. </ul>
  31. </div>
  32. {{ end }}
  33. {{ end }}