1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-09-19 18:31:16 +00:00

Add assistant_container

This commit is contained in:
Mo 2022-05-30 16:42:48 +02:00
parent 5ec7df9069
commit 00ef2890c6
2 changed files with 13 additions and 1 deletions

View file

@ -194,7 +194,7 @@ class AssistantUserView(SecureAssistantModelView):
class AssistantDocsView(SecureAssistantBaseView):
@expose("/")
def index(self):
return self.render("docs/assistant.html")
return self.render("docs/assistant_container.html")
assistantSpace.add_view(

View file

@ -0,0 +1,12 @@
{% from "macros.html" import information %}
{% extends "admin/master.html" %}
{% block body %}
{{ information(current_user, active_semester_repr, role="assistant") }}
<hr>
{% include "docs/assistant.html" %}
{{ footer|safe }}
{% endblock body %}