{% extends "base.html" %} {% comment %} The Mia Core Application user_list.html: The template for the user list Copyright (c) 2020 imacat. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Author: imacat@mail.imacat.idv.tw (imacat) First written: 2020/8/9 {% endcomment %} {% load i18n %} {% load mia_core %} {% block settings %} {% setvar "title" _("Account Management") %} {% endblock %} {% block content %}
{{ _("New")|force_escape }}
{% if user_list %} {% for user in user_list %} {% endfor %}
{{ _("Log in ID.")|force_escape }} {{ _("Name")|force_escape }} {{ _("View")|force_escape }}
{{ user.login_id }} {{ user.name }} {% if user.is_disabled %} {{ _("Disabled")|force_escape }} {% endif %} {% if user.is_deleted %} {{ _("Deleted")|force_escape }} {% endif %} {% if not user.is_in_use %} {{ _("Not In Use")|force_escape }} {% endif %} {{ _("View")|force_escape }}
{% else %}

{{ _("There is currently no data.")|force_escape }}

{% endif %} {% endblock %}