start of making nickname optional
This commit is contained in:
parent
a77c3b59b1
commit
e4f0a1e3ed
33 changed files with 92 additions and 48 deletions
|
|
@ -1,4 +1,4 @@
|
|||
- title @user.nick
|
||||
- title show_user(@user)
|
||||
|
||||
.row-fluid
|
||||
.span3
|
||||
|
|
@ -6,8 +6,9 @@
|
|||
%h4= t '.person'
|
||||
%p= t '.member_since', time: distance_of_time_in_words(Time.now, @user.created_on)
|
||||
%dl
|
||||
%dt= t '.nick'
|
||||
%dd= @user.nick
|
||||
- if FoodsoftConfig[:use_nick]
|
||||
%dt= t '.nick'
|
||||
%dd= @user.nick
|
||||
%dt= t '.name'
|
||||
%dd= h @user.name
|
||||
%dt= t '.email'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue