Show More
Commit Description:
Merge branch 'master' into codejom (updated rails version, removed judge)
Commit Description:
Merge branch 'master' into codejom (updated rails version, removed judge)
References:
File last commit:
Show/Diff file:
Action:
app/views/users/confirm.html.haml
| 17 lines
| 524 B
| text/x-haml
| HamlLexer
|
|
r158 | - if @result == :successful | ||
|
r162 | %h1 | ||
=t 'registration.activation_sucessful_title' | ||||
=t 'registration.account_activated' | ||||
|
r158 | %br/ | ||
|
r162 | =t 'go_ahead_to' | ||
= link_to((t 'login_page'), {:controller => 'main', :action => 'login'}) | ||||
|
r158 | - else | ||
|
r162 | %h1 | ||
=t 'registration.activation_failed_title' | ||||
|
r158 | - if @result == :email_used | ||
|
r162 | =t 'registration.errors.activation.email_exists' | ||
|
r158 | - else | ||
|
r162 | =t 'registration.errors.activation.invalid' | ||
|
r158 | %br/ | ||
|
r162 | =t 'go_back_to' | ||
= link_to((t 'home_page'), {:controller => 'main', :action => 'login'}) | ||||