Show More
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available?...
Commit Description:
- fix authorization for viewing submission, only admin can view all problems all the time, normal user depends on right.view_submission and problem.available? - add max score query
References:
File last commit:
Show/Diff file:
Action:
app/views/user_admin/mass_mailing.html.haml | 19 lines | 459 B | text/x-haml | HamlLexer |
Jittat Fakcharoenphol
sends mass emails
r309 %h1 Send mass e-mails
Jittat Fakcharoenphol
fixed form_tag/form_for, disabled attributes whitelist
r321 = form_tag :action => 'bulk_mail' do
Jittat Fakcharoenphol
sends mass emails
r309 %b List recipients' login below; one per line.
%br/
= text_area_tag 'login_list', nil, :rows => 7, :cols => 80
%br/
%b Subject:
= text_field_tag 'subject', '', :size => 60
%br/
%b Email body:
%br/
= text_area_tag 'email_body', nil, :rows => 11, :cols => 80
%br/
= submit_tag "Send mails", :confirm => 'Are you sure?'
%hr/
= link_to '[go back to index]', :action => 'index'