From 722ce53e61d6c281d31d73a797751cbc5b9e63aa Mon Sep 17 00:00:00 2001 From: Ibrahim Awwal Date: Sun, 2 Sep 2012 15:13:02 -0700 Subject: [PATCH] Pull out discussion-thread-list-template into its own file. --- .../views/discussion_thread_view.coffee | 1 - .../discussion/_thread_list_template.html | 26 ++++++++++++++++++ .../discussion/_underscore_templates.html | 27 ------------------- lms/templates/discussion/index.html | 3 ++- lms/templates/discussion/single_thread.html | 1 + 5 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 lms/templates/discussion/_thread_list_template.html diff --git a/lms/static/coffee/src/discussion/views/discussion_thread_view.coffee b/lms/static/coffee/src/discussion/views/discussion_thread_view.coffee index 7f3430f216..441929a05f 100644 --- a/lms/static/coffee/src/discussion/views/discussion_thread_view.coffee +++ b/lms/static/coffee/src/discussion/views/discussion_thread_view.coffee @@ -6,7 +6,6 @@ class @DiscussionThreadView extends Backbone.View template: _.template($("#thread-template").html()) render: -> - console.log(@model) @$el.html(@template(@model.toJSON())) @model.bind "change", @updateModelDetails if window.user.following(@model) diff --git a/lms/templates/discussion/_thread_list_template.html b/lms/templates/discussion/_thread_list_template.html new file mode 100644 index 0000000000..4a8a78e0bb --- /dev/null +++ b/lms/templates/discussion/_thread_list_template.html @@ -0,0 +1,26 @@ + \ No newline at end of file diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index 634d8167d9..1a28843271 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -1,30 +1,3 @@ - -