canvas-lms/app/presenters
Bracken Mosbacker 41a59e1ab5 add allow/enable draft account/course settings
Also update all flag checking to use context method
instead of doing settings[:enable_draft] checking

Test Plan:
 * "Allow Draft" on a root account. (make sure you don't have
   draft enabled for that account in the console)
  * All courses in that account should now have an
	  "Enable Draft" option in "more options"
	* If a course has draft enabled then it should be enabled for all sections
 * the help dialogs should work and make sense

closes CNVS-7695

Change-Id: Ia5eff0c4868b8be9e5c8417f904cea83e9313bb3
Reviewed-on: https://gerrit.instructure.com/24229
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
2013-09-10 19:46:33 +00:00
..
discussion_topic_presenter.rb add allow/enable draft account/course settings 2013-09-10 19:46:33 +00:00
grade_summary_assignment_presenter.rb cleanup and sharding fixes in grade_summary 2013-03-07 15:44:20 -07:00
grade_summary_presenter.rb cache some settings 2013-08-26 17:54:56 +00:00
grades_presenter.rb fix spec failure in ruby 1.8 2013-03-11 10:33:43 -06:00
override_list_presenter.rb edit assignments and multiple due dates in the new index page 2013-09-06 18:16:39 +00:00
override_tooltip_presenter.rb multiple due date summary tooltip 2013-04-02 18:47:35 +00:00
take_quiz_presenter.rb visual indicators for answered quiz questions 2013-04-22 21:56:17 +00:00