From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/oauth2/view-user.html | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 gn2/wqflask/templates/oauth2/view-user.html (limited to 'gn2/wqflask/templates/oauth2/view-user.html') diff --git a/gn2/wqflask/templates/oauth2/view-user.html b/gn2/wqflask/templates/oauth2/view-user.html new file mode 100644 index 00000000..34526b14 --- /dev/null +++ b/gn2/wqflask/templates/oauth2/view-user.html @@ -0,0 +1,48 @@ +{%extends "base.html"%} +{%from "oauth2/profile_nav.html" import profile_nav%} +{%block title%}View User{%endblock%} +{%block content%} +
+ {{profile_nav("dashboard", user_privileges)}} +

View User

+ + {{flash_me()}} + +
+
+ {%if user_details%} +

Name: {{user_details.name}}

+

E-Mail: {{user_details.email}}

+ {%if user_details.group%} +

Group:{{user_details.group.group_name}}

+ {%else%} +

+ +   + User is not a member of a group. +

+ + {%if group_join_request is defined and group_join_request.exists %} +

+ +   + You have an active join request to a group. +

+ {%else%} +

+ Join or Create group +

+ {%endif%} + + {%endif%} + {%else%} +

No details found.

+ {%endif%} +
+ +
+ +
+{%endblock%} -- cgit v1.2.3