diff --git a/lib/react/init.jsx b/lib/react/init.jsx
index 2d91a20..5e611ff 100644
--- a/lib/react/init.jsx
+++ b/lib/react/init.jsx
@@ -35,6 +35,10 @@ var showAuthenticationNotice = () => {
$("#auth-required").show();
};
+var showGatherBanNotice = () => {
+ $("#gather-banned").show();
+};
+
var renderPage = (socket) => {
initialiseVisibilityMonitoring(socket);
React.render(, document.getElementById('side-menu'));
@@ -66,6 +70,9 @@ var initialiseComponents = () => {
if (error === "Authentication Failed") {
removeAuthWidget();
showAuthenticationNotice();
+ } else if (error === "Gather Banned") {
+ removeAuthWidget();
+ showGatherBanNotice();
}
})
};
diff --git a/public/js/app.js b/public/js/app.js
index 1c05edc..af35260 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -1124,6 +1124,10 @@ var showAuthenticationNotice = function showAuthenticationNotice() {
$("#auth-required").show();
};
+var showGatherBanNotice = function showGatherBanNotice() {
+ $("#gather-banned").show();
+};
+
var renderPage = function renderPage(socket) {
initialiseVisibilityMonitoring(socket);
React.render(React.createElement(UserMenu, null), document.getElementById('side-menu'));
@@ -1152,6 +1156,9 @@ var initialiseComponents = function initialiseComponents() {
if (error === "Authentication Failed") {
removeAuthWidget();
showAuthenticationNotice();
+ } else if (error === "Gather Banned") {
+ removeAuthWidget();
+ showGatherBanNotice();
}
});
};
diff --git a/views/index.hbs b/views/index.hbs
index 9072107..e4c8846 100644
--- a/views/index.hbs
+++ b/views/index.hbs
@@ -17,6 +17,19 @@
+
+
+
+
+
![ENSL Logo](/images/ensl_logo.png)
+
+
You're currently barred from joining gathers
+
Either wait for the ban to expire or talk to an admin to get it lifted
+
+
See the ban list
+
+
+