[refs #818] change new header

This commit is contained in:
Alexander Machehin 2013-01-10 22:46:44 +06:00
parent ba026c948d
commit be095223e4
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
.block
.content
%h2.title= title t("layout.users.new_header")
%h2.title= title t("layout.users.new_#{@user.system? ? 'system_' : ''}header")
.inner
= form_for @user, :url => admin_users_path, :html => {:class => :form} do |f|
-if @user.system?

View File

@ -5,6 +5,7 @@ en:
new: Create
edit: Edit
new_header: New user
new_system_header: New system user
edit_header: Edit
list_header: Users
groups: Groups

View File

@ -5,6 +5,7 @@ ru:
new: Создать
edit: Редактировать
new_header: Новый пользователь
new_system_header: Новый служебный пользователь
edit_header: Редактировать
list_header: Пользователи
groups: Группы