Tell users to contact server admin to get enabled
This commit is contained in:
1 parent
41422d0b32
commit
42821ceb10
3 files changed
+21
-3
No files matched your search
@@ -12,11 +12,21 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
{% if error %}
|
||||
<div id="error">
|
||||
<strong>{{error}}</strong>
|
||||
</div>
|
||||
<div id="error">
|
||||
<strong>{{error}}</strong>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if request.user.is_authenticated and not profile.enabled %}
|
||||
<div id="error">
|
||||
<strong>{{profile.user.username}}! Your account is not enabled.</strong>
|
||||
<strong>Contact the Admin ( {{config.serveradmin}} )</strong>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="sidebar">
|
||||
{% block sidebar %}
|
||||
<ul>
|
||||
|
||||
Reference in new issue
Block a user