From f2bbcdc4419257bbbf22d26f0029e5e9c6e69308 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 20 Mar 2023 16:02:12 +0100 Subject: [PATCH] Rename manual modal template --- app/templates/admin/user.html.j2 | 37 ++++++++++++++++++- app/templates/base.html.j2 | 2 +- ...contents.html.j2 => _manual_modal.html.j2} | 0 3 files changed, 36 insertions(+), 3 deletions(-) rename app/templates/main/{_manual_modal_contents.html.j2 => _manual_modal.html.j2} (100%) diff --git a/app/templates/admin/user.html.j2 b/app/templates/admin/user.html.j2 index aa4899ce..e3864e75 100644 --- a/app/templates/admin/user.html.j2 +++ b/app/templates/admin/user.html.j2 @@ -8,7 +8,6 @@
-

{{ user.username }}

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,

arrow_backBack to Users
@@ -26,7 +25,19 @@
  • Confirmed status: {{ user.confirmed }}
  • Last seen: {{ user.last_seen }}
  • Permissions as Int: {{ user.role.permissions }}
  • -
  • Role name: {{ user.role.name }}
  • +
  • Role: {{ user.role.name }}
  • +
  • Permissions: + +
  • @@ -53,6 +64,28 @@
    + +
    +

    Contributions

    +
    + +
    +

    SpaCy NLP Pipeline Models

    +
    +
    +
    +
    +
    +
    + +
    +

    Tesseract OCR Pipeline Models

    +
    +
    +
    +
    +
    +
    {% endblock page_content %} diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2 index 1b442bf9..a924e9b7 100644 --- a/app/templates/base.html.j2 +++ b/app/templates/base.html.j2 @@ -34,7 +34,7 @@ {% block page_content %}{% endblock page_content %}
    {% block modals %} - {% include "main/_manual_modal_contents.html.j2" %} + {% include "main/_manual_modal.html.j2" %} {# {% if current_user.is_authenticated %} {% include "_roadmap.html.j2" %} {% endif %} #} diff --git a/app/templates/main/_manual_modal_contents.html.j2 b/app/templates/main/_manual_modal.html.j2 similarity index 100% rename from app/templates/main/_manual_modal_contents.html.j2 rename to app/templates/main/_manual_modal.html.j2