diff --git a/lms/templates/course.html b/lms/templates/course.html index f009955df1..e8c7cd5875 100644 --- a/lms/templates/course.html +++ b/lms/templates/course.html @@ -1,4 +1,5 @@ <%namespace name='static' file='static_content.html'/> +<%namespace file='main.html' import="stanford_theme_enabled"/> <%! from django.core.urlresolvers import reverse from courseware.courses import course_image_url, get_course_about_section @@ -24,7 +25,11 @@

${get_course_about_section(course, 'short_description')}

- ${get_course_about_section(course, 'university')} + % if stanford_theme_enabled(): + ${get_course_about_section(course, 'university')} + % else: + ${get_course_about_section(course, 'university')} + % endif ${course.start_date_text}
diff --git a/lms/templates/index.html b/lms/templates/index.html index 109ab6fb2f..e6b9c86ba4 100644 --- a/lms/templates/index.html +++ b/lms/templates/index.html @@ -8,30 +8,37 @@
-

The Future of Online Education

+ % if self.stanford_theme_enabled(): +

Free courses from Stanford

+ % else: +

The Future of Online Education

+ % endif

For anyone, anywhere, anytime

-
-
- Sign Up -
- -
- -
+ +
+ +
+ + % endif
@@ -45,113 +52,116 @@
-

Explore free courses from edX universities

+ ## Disable university partner logos and sites for non-edX sites + % if not self.theme_enabled(): +

Explore free courses from edX universities

-
-
    -
  1. - - -
    - MITx -
    -
    -
  2. -
  3. - - -
    - HarvardX -
    -
    -
  4. -
  5. - - -
    - BerkeleyX -
    -
    -
  6. -
  7. - - -
    - UTx -
    -
    -
  8. -
  9. - - -
    - McGillX -
    -
    -
  10. -
  11. - - -
    - ANUx -
    -
    -
  12. -
+
+
    +
  1. + + +
    + MITx +
    +
    +
  2. +
  3. + + +
    + HarvardX +
    +
    +
  4. +
  5. + + +
    + BerkeleyX +
    +
    +
  6. +
  7. + + +
    + UTx +
    +
    +
  8. +
  9. + + +
    + McGillX +
    +
    +
  10. +
  11. + + +
    + ANUx +
    +
    +
  12. +
-
+
-
    -
  1. - - -
    - WellesleyX -
    -
    -
  2. -
  3. - - -
    - GeorgetownX -
    -
    -
  4. -
  5. - - -
    - University of TorontoX -
    -
    -
  6. -
  7. - - -
    - EPFLx -
    -
    -
  8. -
  9. - - -
    - DelftX -
    -
    -
  10. -
  11. - - -
    - RiceX -
    -
    -
  12. -
-
+
    +
  1. + + +
    + WellesleyX +
    +
    +
  2. +
  3. + + +
    + GeorgetownX +
    +
    +
  4. +
  5. + + +
    + University of TorontoX +
    +
    +
  6. +
  7. + + +
    + EPFLx +
    +
    +
  8. +
  9. + + +
    + DelftX +
    +
    +
  10. +
  11. + + +
    + RiceX +
    +
    +
  12. +
+
+ % endif
    @@ -165,47 +175,56 @@
-
-
-
-

edX News & Announcements

- edX MEDIA KIT -
-
-
- %for entry in news: -
- %if entry.image: - - %endif -
- ${entry.title} - %if entry.summary: -

${entry.summary}

- %endif - -
-
- %endfor -
- + % endif