No link for user creation when ichain is enabled

This commit is contained in:
Stella 2014-11-09 21:00:58 +02:00
parent f08d07dc5d
commit 9f9193fe32

View file

@ -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