diff --git a/lms/templates/discussion/_new_post.html b/lms/templates/discussion/_new_post.html new file mode 100644 index 0000000000..ef2dd75450 --- /dev/null +++ b/lms/templates/discussion/_new_post.html @@ -0,0 +1,54 @@ +
+
+
+
+ +
+ Homework / Week 1 +
+ + +
+
+
+ +
+ +
+
+
+
+ +
+
+ +
Preview
+
+
+ +
+ + Cancel +
+
+
+
\ No newline at end of file diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html new file mode 100644 index 0000000000..6946b2c92b --- /dev/null +++ b/lms/templates/discussion/_underscore_templates.html @@ -0,0 +1,80 @@ + + + + + + + + + diff --git a/lms/templates/discussion/single_thread.html b/lms/templates/discussion/single_thread.html index f238e3d967..cab4502dcf 100644 --- a/lms/templates/discussion/single_thread.html +++ b/lms/templates/discussion/single_thread.html @@ -1,5 +1,8 @@ <%! import django_comment_client.helpers as helpers %> <%! from django.template.defaultfilters import escapejs %> +<%! from django.core.urlresolvers import reverse %> +<%! from courseware.access import has_access %> + <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <%block name="bodyclass">discussion @@ -33,9 +36,6 @@ -<%! from django.core.urlresolvers import reverse %> -<%! from courseware.access import has_access %> - -
-
-
-
- -
- Homework / Week 1 -
- - -
-
-
- -
- -
-
-
-
- -
-
- -
Preview
-
-
- -
- - Cancel -
-
-
-
+<%include file="_new_post.html" />
@@ -131,84 +78,4 @@
- - - - - - - - - - +<%include file="_underscore_templates.html" />