diff --git a/lms/templates/courseware/course_about_sidebar_header.html b/lms/templates/courseware/course_about_sidebar_header.html index 65182062d171..027587ef3a93 100644 --- a/lms/templates/courseware/course_about_sidebar_header.html +++ b/lms/templates/courseware/course_about_sidebar_header.html @@ -21,7 +21,7 @@ tweet_text = _("I just enrolled in {number} {title} through {account}: {url}").format( number=course.number, title=course.display_name_with_default_escaped, - account='https://lagunita.stanford.edu', + account=static.get_value('course_about_twitter_account', settings.PLATFORM_TWITTER_ACCOUNT), url=u"http://{domain}{path}".format( domain=site_domain, path=reverse('about_course', args=[course.id.to_deprecated_string()]) @@ -47,6 +47,9 @@ ${_("Tweet that you've enrolled in this course")} + + ${_("Post a Facebook message to say you've enrolled in this course")} + ${_("Email someone to say you've enrolled in this course")} diff --git a/lms/templates/register-form.html b/lms/templates/register-form.html index 72945bac5991..aa543efe7394 100644 --- a/lms/templates/register-form.html +++ b/lms/templates/register-form.html @@ -4,12 +4,7 @@ from django.utils.translation import ugettext as _ from django_countries import countries from student.models import UserProfile -from microsite_configuration import microsite %> -<%def name="theme_enabled()"><% return settings.FEATURES.get("USE_CUSTOM_THEME", False) %> -<%def name="is_microsite()"><% return microsite.is_request_in_microsite() %> -<%def name="stanford_theme_enabled()"><% return theme_enabled() and not is_microsite() %> -<%namespace name='static' file='static_content.html'/> @@ -234,7 +229,7 @@

${_("Additional Personal Information")}

% endif -<%static:optional_include_mako file="register_extra.html" is_theming_enabled="True" /> +

${_("Account Acknowledgements")}

@@ -244,26 +239,19 @@

${_("Account Acknowledgements")}

% if has_extauth_info is UNDEFINED or ask_for_tos :
- + '.format(url=marketing_link('TOS')), + link_end='')}
% endif % if settings.REGISTRATION_EXTRA_FIELDS['honor_code'] != 'hidden': - ## If the stanford theme isn't enabled, check if we have an Honor Code link in our marketing map - % if stanford_theme_enabled() or marketing_link('HONOR') and marketing_link('HONOR') != '#': + ## check if we have an Honor Code link in our marketing map + % if marketing_link('HONOR') and marketing_link('HONOR') != '#':
<% - ## TODO: provide a better way to override these links - self.register_honor_link = marketing_link('HONOR') - if self.register_honor_link: - honor_code_path = self.register_honor_link - else: - honor_code_path = marketing_link('HONOR') + honor_code_path = marketing_link('HONOR') %>