{* SPDX-FileCopyrightText: © 2021 Olivier Meunier SPDX-License-Identifier: AGPL-3.0-only *} {{ extends "/_layouts/sidemenu_std" }} {{- block __sideMenuExtended() -}}{{- end -}} {{- block sideMenu() -}} {{- yield sideMenuTitle() content -}}{{ gettext("Settings") }}{{- end }}
  • {{ yield icon(name="o-user") }} {{ gettext("Profile") }}
  • {{ yield icon(name="o-lock") }} {{ gettext("Security") }}
  • {{ if hasPermission("profile:tokens", "read") -}}
  • {{ yield icon(name="o-applications") }} {{ gettext("Applications") }}
  • {{ yield icon(name="o-key") }} {{ gettext("API Tokens") }}
  • {{- end }}
    {{- if hasPermission("profile", "export") || hasPermission("profile", "import") -}}
    {{- if hasPermission("profile", "export") -}}
  • {{ yield icon(name="o-export") }} {{ gettext("Export") }}
  • {{- end -}} {{- if hasPermission("profile", "import") -}}
  • {{ yield icon(name="o-import") }} {{ gettext("Import") }}
  • {{- end -}}
    {{- end -}} {{- if hasPermission("admin:users", "read") -}}
  • {{ yield icon(name="o-user-admin") }} {{ gettext("Users") }}
  • {{- end -}} {{ yield __sideMenuExtended() }} {{- end -}}