adjusted Studio container publishing status message
This commit is contained in:
@@ -68,5 +68,5 @@ class ContainerViewTestCase(CourseTestCase):
|
||||
# Verify the navigation link at the top of the page is correct.
|
||||
self.assertRegexpMatches(html, expected_breadcrumbs)
|
||||
# Verify the link that allows users to change publish status.
|
||||
expected_unit_link = 'This container will publish as part of the unit <a href="/unit/MITx.999.Robot_Super_Course/branch/draft/block/Unit">Unit</a>.'
|
||||
expected_unit_link = 'This content is published with unit <a href="/unit/MITx.999.Robot_Super_Course/branch/draft/block/Unit">Unit</a>.'
|
||||
self.assertIn(expected_unit_link, html)
|
||||
|
||||
@@ -81,7 +81,7 @@ xblock_info = {
|
||||
<aside class="content-supplementary" role="complimentary">
|
||||
<div class="bit-publishing">
|
||||
<h3 class="title-3">${_("Publishing Status")}</h3>
|
||||
<p class="copy">${_('This container will publish as part of the unit {unit_link}.').format(
|
||||
<p class="copy">${_('This content is published with unit {unit_link}.').format(
|
||||
unit_link=u'<a href="{unit_address}">{unit_name}</a>'.format(
|
||||
unit_address=xblock_studio_url(unit),
|
||||
unit_name=unit.display_name_with_default,
|
||||
|
||||
@@ -428,7 +428,7 @@ from django.utils.translation import ugettext as _
|
||||
<aside class="content-supplementary" role="complimentary">
|
||||
<div class="bit-publishing">
|
||||
<h3 class="title-3">${_("Publishing Status")}</h3>
|
||||
<p class="copy">${_('This container will publish with <a href="">Unit 1</a>. To make changes to the content of this container, place <a href="">Unit 1</a> in draft mode.')}</p>
|
||||
<p class="copy">${_('This content is published with unit <a href="">Unit 1</a>. To make changes to the content of this container, place <a href="">Unit 1</a> in draft mode.')}</p>
|
||||
</div>
|
||||
<div class="bit">
|
||||
<h3 class="title-3">Container Reference Page</h3>
|
||||
|
||||
Reference in New Issue
Block a user