").html(text)
-
- $div.find("code").each (index, code) ->
- codeArchive.push $(code).html()
- $(code).html(codeArchive.length - 1)
-
- text = $div.html()
- text = text.replace /\\\$/g, ESCAPED_DOLLAR
-
- while true
- if RE_INLINEMATH.test(text)
- text = text.replace RE_INLINEMATH, ($0, $1, $2, $3) ->
- processedText += $1 + processor("$" + $2 + "$", 'inline')
- $3
- else if RE_DISPLAYMATH.test(text)
- text = text.replace RE_DISPLAYMATH, ($0, $1, $2, $3) ->
- processedText += $1 + processor("$$" + $2 + "$$", 'display')
- $3
- else
- processedText += text
- break
-
- text = processedText
- text = text.replace(new RegExp(ESCAPED_DOLLAR, 'g'), '\\$')
-
- text = text.replace /\\\\\\\\/g, ESCAPED_BACKSLASH
- text = text.replace /\\begin\{([a-z]*\*?)\}([\s\S]*?)\\end\{\1\}/img, ($0, $1, $2) ->
- processor("\\begin{#{$1}}" + $2 + "\\end{#{$1}}")
- text = text.replace(new RegExp(ESCAPED_BACKSLASH, 'g'), '\\\\\\\\')
-
- $div = $("
").html(text)
- cnt = 0
- $div.find("code").each (index, code) ->
- $(code).html(processor(codeArchive[cnt], 'code'))
- cnt += 1
-
- text = $div.html()
-
- text
diff --git a/lms/static/sass/course/wiki/_wiki.scss b/lms/static/sass/course/wiki/_wiki.scss
index 81646e5b32..bcc2c8855d 100644
--- a/lms/static/sass/course/wiki/_wiki.scss
+++ b/lms/static/sass/course/wiki/_wiki.scss
@@ -763,6 +763,10 @@ section.wiki {
padding: 8px;
overflow: hidden;
}
+
+ a.list-children {
+ margin-left: 3px;
+ }
tr:nth-child(even) {
background: #F6F6F6;
diff --git a/lms/templates/courseware/info.html b/lms/templates/courseware/info.html
index 33195f985e..ced427d31a 100644
--- a/lms/templates/courseware/info.html
+++ b/lms/templates/courseware/info.html
@@ -29,7 +29,7 @@ $(document).ready(function(){
${get_course_info_section(course, 'updates')}
- Course Handouts
+ ${course.info_sidebar_name}
${get_course_info_section(course, 'handouts')}
% else:
diff --git a/lms/templates/discussion/index.html b/lms/templates/discussion/index.html
index b0ca1a2ffa..d8a2607944 100644
--- a/lms/templates/discussion/index.html
+++ b/lms/templates/discussion/index.html
@@ -10,6 +10,7 @@
<%block name="js_extra">
<%include file="_js_body_dependencies.html" />
+<%static:js group='discussion'/>
%block>
<%include file="../courseware/course_navigation.html" args="active_page='discussion'" />
diff --git a/lms/templates/footer.html b/lms/templates/footer.html
index 52c2b45526..96c80d151d 100644
--- a/lms/templates/footer.html
+++ b/lms/templates/footer.html
@@ -9,7 +9,7 @@
Find Courses
About
-
Blog
+
Blog
Jobs
Contact
diff --git a/lms/templates/wiki/includes/article_menu.html b/lms/templates/wiki/includes/article_menu.html
index 0d505ccebd..dd46a3d7fd 100644
--- a/lms/templates/wiki/includes/article_menu.html
+++ b/lms/templates/wiki/includes/article_menu.html
@@ -1,5 +1,8 @@
## mako
-<%! from django.core.urlresolvers import reverse %>
+<%!
+ from django.core.urlresolvers import reverse
+ from wiki.core.permissions import can_change_permissions
+%>
@@ -37,9 +40,10 @@
<%doc>
-The settings link has been disabled because the notifications app hasn't been integrated yet and those are the only useful settings.
+This should be enabled for all non-anonymous users once the notifications app has been integrated and styled.
+%doc>
-%if not user.is_anonymous():
+%if can_change_permissions(article,user):
@@ -47,6 +51,6 @@ The settings link has been disabled because the notifications app hasn't been in
%endif
-%doc>
+
diff --git a/repo-requirements.txt b/repo-requirements.txt
index 82c0b06b34..b93dc2837f 100644
--- a/repo-requirements.txt
+++ b/repo-requirements.txt
@@ -1,6 +1,6 @@
-e git://github.com/MITx/django-staticfiles.git@6d2504e5c8#egg=django-staticfiles
-e git://github.com/MITx/django-pipeline.git#egg=django-pipeline
--e git://github.com/benjaoming/django-wiki.git@3576a2d#egg=django-wiki
+-e git://github.com/benjaoming/django-wiki.git@533c7fc#egg=django-wiki
-e git://github.com/dementrock/pystache_custom.git@776973740bdaad83a3b029f96e415a7d1e8bec2f#egg=pystache_custom-dev
-e common/lib/capa
-e common/lib/xmodule