mirror of
https://github.com/miniflux/v2.git
synced 2025-08-31 18:31:01 +00:00
Add missing page header icons
This commit is contained in:
parent
da89831116
commit
6b4b9e9cff
5 changed files with 55 additions and 18 deletions
|
@ -1,24 +1,24 @@
|
|||
{{ define "settings_menu" }}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ route "settings" }}">{{ t "menu.settings" }}</a>
|
||||
<a href="{{ route "settings" }}">{{ icon "settings" }}{{ t "menu.settings" }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route "integrations" }}">{{ t "menu.integrations" }}</a>
|
||||
<a href="{{ route "integrations" }}">{{ icon "third-party-services" }}{{ t "menu.integrations" }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route "apiKeys" }}">{{ t "menu.api_keys" }}</a>
|
||||
<a href="{{ route "apiKeys" }}">{{ icon "api" }}{{ t "menu.api_keys" }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route "sessions" }}">{{ t "menu.sessions" }}</a>
|
||||
<a href="{{ route "sessions" }}">{{ icon "sessions" }}{{ t "menu.sessions" }}</a>
|
||||
</li>
|
||||
{{ if .user.IsAdmin }}
|
||||
<li>
|
||||
<a href="{{ route "users" }}">{{ t "menu.users" }}</a>
|
||||
<a href="{{ route "users" }}">{{ icon "users" }}{{ t "menu.users" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li>
|
||||
<a href="{{ route "about" }}">{{ t "menu.about" }}</a>
|
||||
<a href="{{ route "about" }}">{{ icon "about" }}{{ t "menu.about" }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{ end }}
|
|
@ -3,8 +3,8 @@
|
|||
{{ define "content"}}
|
||||
<section class="page-header">
|
||||
<h1>{{ t "page.history.title" }} ({{ .total }})</h1>
|
||||
{{ if .entries }}
|
||||
<ul>
|
||||
{{ if .entries }}
|
||||
<li>
|
||||
<a href="#"
|
||||
data-confirm="true"
|
||||
|
@ -12,19 +12,13 @@
|
|||
data-label-question="{{ t "confirm.question" }}"
|
||||
data-label-yes="{{ t "confirm.yes" }}"
|
||||
data-label-no="{{ t "confirm.no" }}"
|
||||
data-label-loading="{{ t "confirm.loading" }}">{{ t "menu.flush_history" }}</a>
|
||||
data-label-loading="{{ t "confirm.loading" }}">{{ icon "delete" }}{{ t "menu.flush_history" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li>
|
||||
<a href="{{ route "sharedEntries" }}">{{ t "menu.shared_entries" }}</a>
|
||||
<a href="{{ route "sharedEntries" }}">{{ icon "share" }}{{ t "menu.shared_entries" }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{ else }}
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ route "sharedEntries" }}">{{ t "menu.shared_entries" }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ if not .entries }}
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
data-label-question="{{ t "confirm.question" }}"
|
||||
data-label-yes="{{ t "confirm.yes" }}"
|
||||
data-label-no="{{ t "confirm.no" }}"
|
||||
data-label-loading="{{ t "confirm.loading" }}">{{ t "menu.flush_history" }}</a>
|
||||
data-label-loading="{{ t "confirm.loading" }}">{{ icon "delete" }}{{ t "menu.flush_history" }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ route "sharedEntries" }}">{{ t "menu.shared_entries" }}</a>
|
||||
<a href="{{ route "sharedEntries" }}">{{ icon "share" }}{{ t "menu.shared_entries" }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue