about.html 1011 B

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