Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## para sa date
- date = Time.parse("January 1, 2008") # date here
- @date_str = date.strftime("%B_") + date.day.to_s + date.strftime("_%Y")
- ##students/paid.html.erb - line 64 & students/unpaid.html.erb - line 78
- <h4><% unless gs? || hs? %><%= @school.semester %><%= @school.semester == 'Summer' ? ', ' : ' Semester, '%><% end %><%= @skul_yr%></h4>
- ##main\index.html.erb - line3
- <h1 style="letter-spacing: 5px; color: #dadada;">News Bulletin SY <%=h @this_school.sy_from %>-<%=h @this_school.sy_to %><%unless gs? || hs?%>, <%=h @this_school.semester %><b><% @this_school.semester == 'Summer' ? '' : ' Semester'%></b><% end %></h1>
- ##school_classes_controller.rb - line 650
- if post == nil
- flash[:error] = 'Your file is more than 50kb.'
- flash[:notice] = nil
- elsif post == 0
- flash[:error] = 'There is no file to upload.'
- flash[:notice] = nil
- elsif post == -1
- flash[:error] = 'Unknown file format.'
- flash[:notice] = nil
- elsif post == -3
- flash[:error] = 'Your file is infected.'
- flash[:notice] = nil
- elsif @fake_file
- flash[:error] = 'There is an error on the file you uploaded.'
- flash[:notice] = nil
- else
- flash[:notice] = 'File uploaded.'
- flash[:error] = nil
- end
Add Comment
Please, Sign In to add comment