finish foodcoop i18n + controller + model
This commit is contained in:
parent
c69a559dc4
commit
8043fd2164
11 changed files with 76 additions and 42 deletions
|
|
@ -4,12 +4,12 @@
|
|||
%table.table.table-striped
|
||||
%thead
|
||||
%tr
|
||||
%th Benutzername
|
||||
%th Name
|
||||
%th Email
|
||||
%th Telefon
|
||||
%th Bestellgruppe
|
||||
%th Arbeitsgruppe(n)
|
||||
%th= t 'simple_form.labels.user.nick'
|
||||
%th= t 'simple_form.labels.user.name'
|
||||
%th= t 'simple_form.labels.user.email'
|
||||
%th= t 'simple_form.labels.user.phone'
|
||||
%th= t 'simple_form.labels.user.ordergroup'
|
||||
%th= t 'simple_form.labels.user.workgroup', count: 3
|
||||
%tbody
|
||||
- for user in @users
|
||||
%tr
|
||||
|
|
|
|||
|
|
@ -1,23 +1,18 @@
|
|||
- title "Mitglieder"
|
||||
- title t('.title')
|
||||
|
||||
%section
|
||||
%p
|
||||
Hier kannst Du den Mitgliedern Deiner Foodcoop eine Nachricht schreiben.
|
||||
%br/
|
||||
Damit Deine Kontaktdaten einzusehen sind, musst Du sie unter
|
||||
= link_to "Einstellungen", my_profile_path
|
||||
freigeben.
|
||||
= t('.body', profile_link: link_to(t('.profile_link'), my_profile_path)).html_safe
|
||||
|
||||
.well
|
||||
= form_tag foodcoop_users_path, :method => :get, :remote => true,
|
||||
'data-submit-onchange' => true, class: 'form-search' do
|
||||
|
||||
= text_field_tag :user_name, params[:user_name], class: 'input-medium search-query',
|
||||
placeholder: 'Name ...'
|
||||
placeholder: t('.ph_name')
|
||||
= text_field_tag :ordergroup_name, params[:ordergroup_name], class: 'input-medium search-query',
|
||||
placeholder: 'Bestelllgruppe ...'
|
||||
placeholder: t('.ph_ordergroup')
|
||||
%button.btn
|
||||
%i.icon-search
|
||||
|
||||
#users
|
||||
= render :partial => "users"
|
||||
= render :partial => "users"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue