-
-
-

${_("About Push to LMS")}

-

${_("Use this to export your course to its github site.")}

-

${_("This will then trigger an automatic update of the main LMS site")} - ${_("and update the contents of your course visible there to students.")}

+
+

${_("About Push to LMS")}

+

${_("Use this to export your course to its git repository.")}

+

${_("This will then trigger an automatic update of the main LMS site and update the contents of your course visible there to students.")}

+
-
    -
  • ${_("Your course:")} ${context_course.id}
  • -
  • ${_("Course github site:")} ${context_course.lms.giturl}
  • - % if msg: -
  • msg:
    ${msg|n}
  • - % endif +
    +

    ${_("Push Course:")}

    + + % if not context_course.giturl: +

    ${_("giturl must be defined in your course settings before you can push to LMS.")}

    + % else: + - + % endif
    - - -
    -
    -

    ${_("Push Course:")}

    - - % if not context_course.lms.giturl: -

    ${_("giturl must be defined in your course settings before you can push to LMS")}

    - % else: - ${_("Push to LMS")} - % endif - -
    -
    - +
    + % if msg: + % if failed: +

    ${_('Export Failed')}:

    + % else: +

    ${_('Export Succeeded')}:

    + % endif +
    ${msg|h}
    + % endif +
-