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
459cecc4
Unverified
Commit
459cecc4
authored
5 years ago
by
Adam Butterworth
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update preview link alignment in masquerade bar (#23192)
Relates to TNL-7076
parent
95d4acad
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/templates/preview_menu.html
+5
-4
5 additions, 4 deletions
lms/templates/preview_menu.html
with
5 additions
and
4 deletions
lms/templates/preview_menu.html
+
5
−
4
View file @
459cecc4
...
...
@@ -38,7 +38,7 @@ show_preview_menu = course and can_masquerade and supports_preview_menu
student_selected =
selected(not
staff_selected
and
not
specific_student_selected
and
not
masquerade_group_id
)
%
>
<nav
class=
"wrapper-preview-menu"
aria-label=
"${_('Course View')}"
>
<div
class=
"preview-menu"
>
<div
class=
"preview-menu"
style=
"display: flex; align-items: center;"
>
<ol
class=
"preview-actions"
>
<li
class=
"action-preview"
>
<form
action=
"#"
class=
"action-preview-form"
method=
"post"
>
...
...
@@ -77,9 +77,10 @@ show_preview_menu = course and can_masquerade and supports_preview_menu
</div>
% endif
% if user.is_staff and mfe_link:
<div
style=
"text-align: right;float:right;padding-bottom:5px"
>
<p
style=
"color: white; display: inline-block; margin-right: 10px;"
>
We're working on a new learning sequence experience
</p>
<a
class=
"btn btn-primary"
style=
"border: solid 1px white;"
href=
"${mfe_link}"
>
View this unit in the new experience
</a>
<div
style=
"flex-grow: 1; text-align: right;"
>
<a
class=
"btn btn-primary"
style=
"border: solid 1px white;"
href=
"${mfe_link}"
>
${_("View this unit in the new experience")}
</a>
</div>
% endif
</div>
...
...
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