{% extends "tesm_core/base.html" %} {% from "tesm_core/macros.html" import field, textarea_field, pill, search_box, modal, empty_state, alert %} {% macro credential_form(entry=None) %}
| Name | Benutzer | Kategorie | Verwendet von | Passwort | Aktion |
|---|---|---|---|---|---|
|
{{ entry.name }}
{% if entry.description %}{{ entry.description }} {% endif %}
|
{{ entry.username or '–' | safe }} | {{ dict(categories).get(entry.category, entry.category) }} | {{ entry.in_use }} | {% if entry.has_secret %}{{ pill('gesetzt', 'online') }} {% else %}{{ pill('fehlt', 'warning') }}{% endif %} | {% if current_user.has('credentials.secrets') and entry.has_secret %} {% endif %} {% if current_user.has('credentials.edit') %} {% endif %} {% if current_user.has('credentials.delete') %} {% endif %} |