Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
391ab846
Commit
391ab846
authored
10 years ago
by
Ben McMorran
Committed by
cahrens
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Open "View Live Version" and "Preview Changes" in a new window
STUD-2058
parent
9b6c9fea
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/templates/container.html
+2
-2
2 additions, 2 deletions
cms/templates/container.html
common/test/acceptance/tests/test_studio_container.py
+1
-0
1 addition, 0 deletions
common/test/acceptance/tests/test_studio_container.py
with
3 additions
and
2 deletions
cms/templates/container.html
+
2
−
2
View file @
391ab846
...
...
@@ -87,12 +87,12 @@ templates = ["basic-modal", "modal-button", "edit-xblock-modal",
<ul>
% if is_unit_page:
<li
class=
"action-item action-view nav-item"
>
<a
href=
"${published_preview_link}"
class=
"button button-view action-button is-disabled"
>
<a
href=
"${published_preview_link}"
class=
"button button-view action-button is-disabled"
rel=
"external"
>
<span
class=
"action-button-text"
>
${_("View Live Version")}
</span>
</a>
</li>
<li
class=
"action-item action-preview nav-item"
>
<a
href=
"${draft_preview_link}"
class=
"button button-preview action-button is-disabled"
>
<a
href=
"${draft_preview_link}"
class=
"button button-preview action-button is-disabled"
rel=
"external"
>
<span
class=
"action-button-text"
>
${_("Preview Changes")}
</span>
</a>
</li>
...
...
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/test_studio_container.py
+
1
−
0
View file @
391ab846
...
...
@@ -692,6 +692,7 @@ class UnitPublishingTest(ContainerBase):
Goes to the published version, then waits for the browser to load the page.
"""
unit
.
view_published_version
()
self
.
assertEqual
(
len
(
self
.
browser
.
window_handles
),
2
)
self
.
courseware
.
wait_for_page
()
def
_verify_and_return_staff_page
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment