[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 { a.button.width81 {
width: 81px; width: 79px;
padding: 4px 0px;
text-align: center;
} }
/* Footer */ /* Footer */

View File

@ -1,7 +1,7 @@
.left .left
= image_tag avatar_url(@user, :big) = image_tag avatar_url(@user, :big)
%br %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 .left
%h3= @user.uname %h3= @user.uname
= @user.name = @user.name

View File

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

View File

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

View File

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