start of making nickname optional
This commit is contained in:
parent
a77c3b59b1
commit
e4f0a1e3ed
33 changed files with 92 additions and 48 deletions
|
|
@ -9,13 +9,15 @@
|
|||
%table.table.table-striped
|
||||
%thead
|
||||
%tr
|
||||
%th= t '.username'
|
||||
- if FoodsoftConfig[:use_nick]
|
||||
%th= t '.username'
|
||||
%th= t '.name'
|
||||
%th= t '.created_at'
|
||||
- for user in @users
|
||||
%tr{:class => cycle('even','odd', :name => 'users')}
|
||||
%td= link_to user.nick, [:admin, user]
|
||||
%td=h user.name
|
||||
%td= link_to show_user(user, full: true), [:admin, user]
|
||||
- if FoodsoftConfig[:use_nick]
|
||||
%td= link_to user.name
|
||||
%td= format_date(user.created_on)
|
||||
= link_to t('.all_users'), admin_users_path
|
||||
|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue