From 9f9193fe3298985d9f3bb75b7dcc83d972eb4bb4 Mon Sep 17 00:00:00 2001 From: Stella Date: Sun, 9 Nov 2014 21:00:58 +0200 Subject: [PATCH] No link for user creation when ichain is enabled --- app/views/admin/users/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index dd004b4a..b2b2eac8 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -5,7 +5,7 @@ - if @users = "(#{@users.length})" - = link_to 'New User', new_admin_user_path, class: 'btn btn-success pull-right' + = link_to 'New User', new_admin_user_path, class: 'btn btn-success pull-right' unless CONFIG['authentication']['ichain']['enabled'] %table.table.table-striped.table-bordered.table-hover#users-datatable %thead %th ID