summaryrefslogtreecommitdiff
path: root/app/views/home
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-10-28 12:47:46 +0100
committerAzul <azul@leap.se>2013-10-30 20:17:43 +0100
commitdd88c7f84cb3c497c6327c364b3c08993c51a08f (patch)
tree84d767412c6a5af49310850ff59704c9fa15dcf9 /app/views/home
parent7aaedeaf6fdd2d84ebab7bde2f6a6bdcf8d930b8 (diff)
notify user their account was successfully deleted (refs #4216)
Also fixes a cornercase when admins deleted their own account. So far they would be redirected to the users list - which then refused access. Now they'll be redirected to the home landing page as well.
Diffstat (limited to 'app/views/home')
-rw-r--r--app/views/home/index.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml
index 728b5b8..5a54354 100644
--- a/app/views/home/index.html.haml
+++ b/app/views/home/index.html.haml
@@ -6,6 +6,10 @@
%p
We provide secure communication services, including encrypted internet, email (coming soon), and chat (coming later).
+ .row-fluid
+ .span6.offset3
+ = render 'layouts/messages'
+ .row-fluid
= home_page_buttons
- if Rails.env == 'development'