Show More
Commit Description:
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
Commit Description:
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@359 6386c4cd-e34a-4fa8-8920-d93eb39b512e
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'}) | ||||