edx 课程页面 (包括讨论) 相关代码

导航栏和新建: /lms/templates/discussion/_discussion_course_navigation.html

课程页面->笔记和讨论模块:/lms/templates/discussion/_discussion_module.html

      相关python代码:/lms/djangoapps/django_comment_client/forum/views.py inline_discussion(330)

讨论和笔记->查询中的下拉选择框(过滤主题):/lms/templates/discussion/_filter_dropdown.html

                            js代码:/common/static/coffee/src/discussion/views/discussion_thread_list_view.js

                            /lms/djangoapps/django_comment_client/forum/views.py 

            forum_form_discussion和note_form_discussion 'is_discussion': True/False,

                             /common/static/coffee/src/discussion/main.coffee中添加 

         window.$$is_discussion = element.data("is-discussion")

       /common/static/coffee/src/discussion/utils.coffee中添加

         对$$is_discussion的判断

       /lms/templates/discussion/index.html和index_note.html中添加

         data-is-discussion="${is_discussion}"

       /lms/djangoapps/django_comment_client/forum/views.py:

                                       (1)note_form_discussion:整体页面

                                       (2)note_single_thread:单条笔记详情

       


     

                


你可能感兴趣的:(edx 课程页面 (包括讨论) 相关代码)