From a20650b559de8064ab93bdc8341aee7fcc2c9218 Mon Sep 17 00:00:00 2001
From: Bridger Maxwell <bridgeyman@gmail.com>
Date: Fri, 20 Jul 2012 16:25:49 -0400
Subject: [PATCH] Added titles to pages that are currently public-facing.

---
 lms/templates/courses.html                       | 2 ++
 lms/templates/dashboard.html                     | 2 ++
 lms/templates/portal/course_about.html           | 3 +++
 lms/templates/static_templates/404.html          | 2 ++
 lms/templates/static_templates/about.html        | 2 ++
 lms/templates/static_templates/contact.html      | 2 ++
 lms/templates/static_templates/copyright.html    | 2 ++
 lms/templates/static_templates/faq.html          | 2 ++
 lms/templates/static_templates/help.html         | 2 +-
 lms/templates/static_templates/honor.html        | 2 ++
 lms/templates/static_templates/jobs.html         | 2 ++
 lms/templates/static_templates/press.html        | 2 ++
 lms/templates/static_templates/pressrelease.html | 2 ++
 lms/templates/static_templates/privacy.html      | 2 ++
 lms/templates/static_templates/tos.html          | 2 ++
 lms/templates/university_profile/berkeleyx.html  | 2 ++
 lms/templates/university_profile/harvardx.html   | 2 ++
 lms/templates/university_profile/mitx.html       | 2 ++
 18 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/lms/templates/courses.html b/lms/templates/courses.html
index d7302565d9a..78154974c83 100644
--- a/lms/templates/courses.html
+++ b/lms/templates/courses.html
@@ -2,6 +2,8 @@
 
 <%namespace name='static' file='static_content.html'/>
 
+<%block name="title"><title>Courses</title></%block>
+
 <section class="find-courses">
   <header class="search" style="background: url('/static/images/homepage_interns_placeholder_2025x550.jpg')">
     <div class="inner-wrapper main-search">
diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html
index 9bf46781c90..9a1784ba8d1 100644
--- a/lms/templates/dashboard.html
+++ b/lms/templates/dashboard.html
@@ -6,6 +6,8 @@
 
 <%namespace name='static' file='static_content.html'/>
 
+<%block name="title"><title>Dashboard</title></%block>
+
 <section class="container dashboard">
 
   <section class="profile-sidebar">
diff --git a/lms/templates/portal/course_about.html b/lms/templates/portal/course_about.html
index 95afcfd73c4..67b4b00c71d 100644
--- a/lms/templates/portal/course_about.html
+++ b/lms/templates/portal/course_about.html
@@ -9,6 +9,9 @@
 
 <%inherit file="../main.html" />
 
+
+<%block name="title"><title>About ${course.number}</title></%block>
+
 <section class="course-info">
   <header class="course-profile">
     <div class="intro-inner-wrapper">
diff --git a/lms/templates/static_templates/404.html b/lms/templates/static_templates/404.html
index be3877e85ae..f53c91cc9fd 100644
--- a/lms/templates/static_templates/404.html
+++ b/lms/templates/static_templates/404.html
@@ -1,5 +1,7 @@
 <%inherit file="../main.html" />
 
+<%block name="title"><title>404</title></%block>
+
 <section class="outside-app">
   <h1>Page not found</h1>
   <p>The page that you were looking for was not found. Go back to the <a href="/">homepage</a> or let us know about any pages that may have been moved at <a href="mailto:technical@edx.org">technical@edx.edu</a>.</p>
diff --git a/lms/templates/static_templates/about.html b/lms/templates/static_templates/about.html
index 2572be6c120..cd13b1cb284 100644
--- a/lms/templates/static_templates/about.html
+++ b/lms/templates/static_templates/about.html
@@ -3,6 +3,8 @@
 
 <%inherit file="../main.html" />
 
+<%block name="title"><title>About edX</title></%block>
+
 <section class="container about">
   <nav>
     <a href="${reverse('about_edx')}" class="active">Vision</a>
diff --git a/lms/templates/static_templates/contact.html b/lms/templates/static_templates/contact.html
index 760d0700248..cc88f00bfae 100644
--- a/lms/templates/static_templates/contact.html
+++ b/lms/templates/static_templates/contact.html
@@ -3,6 +3,8 @@
 
 <%inherit file="../main.html" />
 
+<%block name="title"><title>Contact edX</title></%block>
+
 <section class="container about">
   <nav>
     <a href="${reverse('about_edx')}">Vision</a>
diff --git a/lms/templates/static_templates/copyright.html b/lms/templates/static_templates/copyright.html
index 7cc9f71c866..67058ad6390 100644
--- a/lms/templates/static_templates/copyright.html
+++ b/lms/templates/static_templates/copyright.html
@@ -3,6 +3,8 @@
 
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>Copyright</title></%block>
+
 <section class="static-container copyright">
   <h1> Licensing Information </h1>
   <hr class="horizontal-divider">
diff --git a/lms/templates/static_templates/faq.html b/lms/templates/static_templates/faq.html
index 72090daf457..00bf4969a3e 100644
--- a/lms/templates/static_templates/faq.html
+++ b/lms/templates/static_templates/faq.html
@@ -3,6 +3,8 @@
 
 <%inherit file="../main.html" />
 
+<%block name="title"><title>FAQ</title></%block>
+
 <section class="container about">
   <nav>
     <a href="${reverse('about_edx')}">Vision</a>
diff --git a/lms/templates/static_templates/help.html b/lms/templates/static_templates/help.html
index 4790905982d..c0d7b941c16 100644
--- a/lms/templates/static_templates/help.html
+++ b/lms/templates/static_templates/help.html
@@ -3,7 +3,7 @@
 
 <%namespace name='static' file='../static_content.html'/>
 
-<%block name="title"><title>Help - MITx 6.002x</title></%block>
+<%block name="title"><title>edX Help</title></%block>
 
 <section class="static-container help">
   <h1>Help</h1>
diff --git a/lms/templates/static_templates/honor.html b/lms/templates/static_templates/honor.html
index cd8ce2bb8b2..121bcba44e7 100644
--- a/lms/templates/static_templates/honor.html
+++ b/lms/templates/static_templates/honor.html
@@ -4,6 +4,8 @@
 
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>Honor Code</title></%block>
+
 <section class="static-container honor-code">
   <h1> Honor Code </h1>
   <hr class="horizontal-divider">
diff --git a/lms/templates/static_templates/jobs.html b/lms/templates/static_templates/jobs.html
index 5a6bb1bd5c7..346862e51c0 100644
--- a/lms/templates/static_templates/jobs.html
+++ b/lms/templates/static_templates/jobs.html
@@ -2,6 +2,8 @@
 
 <%inherit file="../main.html" />
 
+<%block name="title"><title>Jobs</title></%block>
+
 <section class="container jobs">
   <h1>Do You Want to Change the Future of Education?</h1>
   <hr class="horizontal-divider">
diff --git a/lms/templates/static_templates/press.html b/lms/templates/static_templates/press.html
index 670627c9dd9..412b31c0847 100644
--- a/lms/templates/static_templates/press.html
+++ b/lms/templates/static_templates/press.html
@@ -3,6 +3,8 @@
 
 <%inherit file="../main.html" />
 
+<%block name="title"><title>edX in the Press</title></%block>
+
 <section class="container about">
   <nav>
     <a href="${reverse('about_edx')}">Vision</a>
diff --git a/lms/templates/static_templates/pressrelease.html b/lms/templates/static_templates/pressrelease.html
index 68a7e1d4834..c9ec29e08bc 100644
--- a/lms/templates/static_templates/pressrelease.html
+++ b/lms/templates/static_templates/pressrelease.html
@@ -3,6 +3,8 @@
 
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>MIT and Harvard announce edX</title></%block>
+
 <section class="pressrelease">
   <section class="container">
     <h1>MIT and Harvard announce edX</h1>
diff --git a/lms/templates/static_templates/privacy.html b/lms/templates/static_templates/privacy.html
index 817048c45ba..ec50d074337 100644
--- a/lms/templates/static_templates/privacy.html
+++ b/lms/templates/static_templates/privacy.html
@@ -3,6 +3,8 @@
 
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>Privacy Policy</title></%block>
+
 <section class="static-container privacy-policy">
   <h1>Privacy Policy</h1>
   <hr class="horizontal-divider">
diff --git a/lms/templates/static_templates/tos.html b/lms/templates/static_templates/tos.html
index 260a4c22897..69e421c76e1 100644
--- a/lms/templates/static_templates/tos.html
+++ b/lms/templates/static_templates/tos.html
@@ -3,6 +3,8 @@
 
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>Terms of Service</title></%block>
+
 <section class="static-container tos">
   <h1>MITx Terms of Service</h1>
   <hr class="horizontal-divider">
diff --git a/lms/templates/university_profile/berkeleyx.html b/lms/templates/university_profile/berkeleyx.html
index 9e36d99597b..df43eeb6e9c 100644
--- a/lms/templates/university_profile/berkeleyx.html
+++ b/lms/templates/university_profile/berkeleyx.html
@@ -1,6 +1,8 @@
 <%inherit file="base.html" />
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>BerkeleyX</title></%block>
+
 <%block name="university_header">
   <header class="search" style="background: url('/static/images/berkeley_fountain_2025x550.jpg')">
     <div class="inner-wrapper university-search">
diff --git a/lms/templates/university_profile/harvardx.html b/lms/templates/university_profile/harvardx.html
index bf6bec37f65..900027b1bd9 100644
--- a/lms/templates/university_profile/harvardx.html
+++ b/lms/templates/university_profile/harvardx.html
@@ -1,6 +1,8 @@
 <%inherit file="base.html" />
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>HarvardX</title></%block>
+
 <%block name="university_header">
   <header class="search" style="background: url('/static/images/about_harvard_page_2025x550.jpg')">
     <div class="inner-wrapper university-search">
diff --git a/lms/templates/university_profile/mitx.html b/lms/templates/university_profile/mitx.html
index 6376692c41c..ac4de24ec6c 100644
--- a/lms/templates/university_profile/mitx.html
+++ b/lms/templates/university_profile/mitx.html
@@ -1,6 +1,8 @@
 <%inherit file="base.html" />
 <%namespace name='static' file='../static_content.html'/>
 
+<%block name="title"><title>MITx</title></%block>
+
 <%block name="university_header">
   <header class="search" style="background: url('/static/images/shot-2-large.jpg')">
     <div class="inner-wrapper university-search">
-- 
GitLab