diff --git a/templates/accordion.html b/templates/accordion.html index 95b7e540c0..d8ca925b79 100644 --- a/templates/accordion.html +++ b/templates/accordion.html @@ -23,3 +23,9 @@ % for chapter in toc: ${make_chapter(chapter)} % endfor + +## add a link to allow course.xml to be reloaded from the git content repo +% if settings.QUICKEDIT: +

quickedit

+ +% endif diff --git a/templates/gitupdate.html b/templates/gitupdate.html new file mode 100644 index 0000000000..fd7d1ef55e --- /dev/null +++ b/templates/gitupdate.html @@ -0,0 +1,32 @@ + + +edX gitupdate + + + +
+

edX gitupdate

+
+ +

Coursename: ${coursename}

+ +% if msg: + + ${msg} + +% else: +

+Do you REALLY want to overwrite all the course.xml + problems + html +files with version from the main git repository? +

+ +
+ +## + +
+% endif + +

Return to site

+ +