[Refs #285] Fix css style, rename button

This commit is contained in:
Vladimir Sharshov 2012-03-11 20:38:28 +04:00
parent 877d82aa06
commit 11434ff423
5 changed files with 10 additions and 3 deletions

View File

@ -652,7 +652,9 @@ article div.all.bigpadding div.rightside {
}
a.button.width81 {
width: 81px;
width: 79px;
padding: 4px 0px;
text-align: center;
}
/* Footer */

View File

@ -1,7 +1,7 @@
.left
= image_tag avatar_url(@user, :big)
%br
= link_to t("layout.users.edit"), edit_user_path(@user), :class => 'button width81' if can? :edit, @user
= link_to t("layout.users.settings"), edit_user_path(@user), :class => 'button width81' if can? :edit, @user
.left
%h3= @user.uname
= @user.name

View File

@ -4,6 +4,7 @@ en:
list: List
new: Create
edit: Edit
settings: Settings
new_header: New user
edit_header: Edit
list_header: Users

View File

@ -4,6 +4,7 @@ ru:
list: Список
new: Создать
edit: Редактировать
settings: Настройки
new_header: Новый пользователь
edit_header: Редактировать
list_header: Пользователи

View File

@ -652,7 +652,10 @@ article div.all.bigpadding div.rightside {
}
a.button.width81 {
width: 81px;
width: 79px;
padding: 4px 0px;
text-align: center;
}