Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
design fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PanfilovDenis committed Feb 6, 2013
1 parent 63995de commit 5c8ee8a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/web/application.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
= yield

%br/
= render "layouts/web/shared/footer"
= render "layouts/web/shared/footer"
2 changes: 1 addition & 1 deletion app/views/layouts/web/shared/_navigation.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- unless signed_in?
%li= link_to t(".i_will_go"), new_user_path
%li= navbar_link t(".participants"), users_path, with: User.shown_as_participants.count
/ %li= navbar_link t(".participants"), users_path, with: User.shown_as_participants.count
- if signed_in?
%li= link_to current_user.full_name, edit_account_account_path(current_user)
Expand Down
9 changes: 0 additions & 9 deletions app/views/web/welcome/index.html.haml
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
.hero-unit
%h1!= t '.hero_unit_title'
.lead
%p
!= t '.hero_unit_content'

- unless signed_in?
= link_to t('.join'), new_user_path, class: 'btn btn-large'

= render "themes"
.border
= render "want_to_do"
Expand Down
6 changes: 6 additions & 0 deletions config/locales/ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,12 @@ ru:
body:
blank: 'Тело новости не может быть пустым'

users:
attributes:
email:
blank: 'Поле не может быть пустым'
taken: 'Такой email уже есть, выберите другой'

simple_form:
labels:
user:
Expand Down

0 comments on commit 5c8ee8a

Please sign in to comment.