finished admin/workgroups i18n

This commit is contained in:
Manuel Wiedenmann 2013-02-04 00:36:03 +07:00
parent e949257912
commit 75c9338fd9
7 changed files with 49 additions and 31 deletions

View file

@ -1,6 +1,6 @@
- title "Arbeitsgruppe #{@workgroup.name}"
- title t '.title', name: @workgroup.name
%section= render :partial => 'shared/group', :locals => { :group => @workgroup }
= link_to 'Gruppe/Mitglieder bearbeiten', edit_admin_workgroup_path(@workgroup), class: 'btn'
= link_to 'Löschen', [:admin, @workgroup], :confirm => 'Bist Du sicher?', :method => :delete, class: 'btn btn-danger'
%section= render 'shared/group', group: @workgroup
= link_to t('.edit'), edit_admin_workgroup_path(@workgroup), class: 'btn'
= link_to t('.delete'), [:admin, @workgroup], :confirm => t('.confirm'), :method => :delete, class: 'btn btn-danger'
= link_to_new_message(message_params: {group_id: @workgroup.id})