Skip to content

Commit

Permalink
Use PLATFORM_NAME on the home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed May 22, 2019
1 parent 7df3c20 commit cf2432c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/test/acceptance/pages/lms/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def is_browser_on_page(self):
Returns a browser query object representing the video modal element
"""
element = self.q(css=BANNER_SELECTOR)
return element.visible and element.text[0].startswith("Welcome to the Open edX")
return element.visible and element.text[0].startswith("Welcome to ")

@property
def banner_element(self):
Expand Down
5 changes: 2 additions & 3 deletions lms/templates/index_overlay.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from openedx.core.djangolib.markup import HTML, Text
%>

<h1>${Text(_(u"Welcome to {platform_name}")).format(platform_name=settings.PLATFORM_NAME)}</h1>
## Translators: 'Open edX' is a registered trademark, please keep this untranslated. See http://open.edx.org for more information.
<h1>${Text(_(u"Welcome to the Open edX{registered_trademark} platform!")).format(registered_trademark=HTML("<sup style='font-size: 65%'>&reg;</sup>"))}</h1>
## Translators: 'Open edX' is a registered trademark, please keep this untranslated. See http://open.edx.org for more information.
<p>${_("It works! This is the default homepage for this Open edX instance.")}</p>
<p>${Text(_("It works! Powered by Open edX{registered_trademark}")).format(registered_trademark=HTML("<sup style='font-size: 65%'>&reg;</sup>"))}</p>

0 comments on commit cf2432c

Please sign in to comment.