start of making nickname optional
This commit is contained in:
parent
a77c3b59b1
commit
e4f0a1e3ed
33 changed files with 92 additions and 48 deletions
|
|
@ -1,3 +1,3 @@
|
|||
= t '.header', user: @user.nick, date: I18n.l(Time.now, :format => :short)
|
||||
= t '.header', user: show_user(@user), date: I18n.l(Time.now, :format => :short)
|
||||
\
|
||||
= @feedback
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
= t '.text', group: @group.name, when: @transaction.created_on.strftime('%d.%m.%Y um %H:%M'), balance: @group.account_balance, amount:@transaction.amount, note: @transaction.note, user: @transaction.user.nick, foodcoop: FoodsoftConfig[:name]
|
||||
= t '.text', group: @group.name, when: @transaction.created_on.strftime('%d.%m.%Y um %H:%M'), balance: @group.account_balance, amount:@transaction.amount, note: @transaction.note, user: show_user(@transaction.user), foodcoop: FoodsoftConfig[:name]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
= raw t '.text0', ordergroup: @group_order.ordergroup.name, order: @order.name, when: I18n.l(@order.ends), user: @order.updated_by.nick
|
||||
= raw t '.text0', ordergroup: @group_order.ordergroup.name, order: @order.name, when: I18n.l(@order.ends), user: show_user(@order.updated_by)
|
||||
- for group_order_article in @group_order.group_order_articles.ordered.all(:include => :order_article)
|
||||
- article = group_order_article.order_article.article
|
||||
\- #{article.name}: #{group_order_article.result} x #{article.unit} = #{group_order_article.result * article.fc_price}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
= raw t '.text', user: @user.nick, link: @link, expires: I18n.l(@user.reset_password_expires)
|
||||
= raw t '.text', user: show_user(@user), link: @link, expires: I18n.l(@user.reset_password_expires)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue