Merge pull request #13490 from edx/sylvia/lms_help_fixes

LMS context sensitive help minor fixes
This commit is contained in:
Sylvia Pearce
2016-09-16 09:59:09 -06:00
committed by GitHub
4 changed files with 12 additions and 4 deletions

View File

@@ -17,8 +17,7 @@ pdf_file = open-edx-learner-guide.pdf
[pages]
default = index.html
instructor = index.html
instructor = SFD_instructor_dash_help.html
course = index.html
@@ -32,10 +31,17 @@ progress = SFD_check_progress.html
learneraccountsettings = sfd_dashboard_profile/SFD_dashboard_settings_profile.html#exploring-the-account-settings-page
learnerdashboard = sfd_dashboard_profile/SFD_dashboard_settings_profile.html#exploring-the-learner-dashboard
learnerdashboard = sfd_dashboard_profile/SFD_dashboard_settings_profile.html#exploring-the-dashboard
programs = SFD_enrolling.html#programs
bookmarks = SFD_bookmarks.html
notes = SFD_notes.html
wiki = SFD_wiki.html
discussions = sfd_discussions/index.html
# below are the language directory names for the different locales
[locales]

View File

@@ -5,6 +5,7 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%def name="online_help_token()"><% return "discussions" %></%def>
<%!
import json
from django.utils.translation import ugettext as _

View File

@@ -1,7 +1,7 @@
<%page expression_filter="h"/>
<%inherit file="/main.html" />
<%namespace name='static' file='/static_content.html'/>
<%def name="online_help_token()"><% return "notes" %></%def>
<%!
from django.utils.translation import ugettext as _
from edxnotes.helpers import NoteJSONEncoder

View File

@@ -4,6 +4,7 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%def name="online_help_token()"><% return "programs" %></%def>
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.js_utils import (