Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
67e98b72
Commit
67e98b72
authored
Dec 14, 2017
by
Bill Filler
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bfiller/gated-content-block' into bfiller/gated-content-combined
parents
0b4305a4
587a4758
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lms/templates/_gated_content.html
+7
-4
No files found.
lms/templates/_gated_content.html
View file @
67e98b72
...
@@ -5,19 +5,22 @@ from django.utils.translation import ugettext as _
...
@@ -5,19 +5,22 @@ from django.utils.translation import ugettext as _
from
openedx
.
core
.
djangolib
.
markup
import
Text
from
openedx
.
core
.
djangolib
.
markup
import
Text
%
>
%
>
<div>
<div
class=
"xblock xblock-student_view xblock-student_view-vertical xblock-initialized"
>
<h2
class=
"hd hd-2 unit-title"
>
<h2
class=
"hd hd-2 unit-title"
>
<span
class=
"icon fa fa-lock"
aria-hidden=
"true"
>
&
nbsp
</span>
${gated_section_name}
<span
class=
"icon fa fa-lock"
aria-hidden=
"true"
>
&
nbsp
</span>
${gated_section_name}
</h2>
</h2>
<h2>
<p/>
<h3
class=
"hd hd-3 problem-header"
>
${_("Content Locked")}
${_("Content Locked")}
</h
2
>
</h
3
>
<p>
<p>
${Text(_(
${Text(_(
"You must complete the section '{prereq_section_name}' with the required score before you are able to view this content."
"You must complete the section '{prereq_section_name}' with the required score before you are able to view this content."
)).format(prereq_section_name=prereq_section_name)}
)).format(prereq_section_name=prereq_section_name)}
<p>
<p>
<button><a
href=
"${prereq_url}"
>
${_("Go to Prerequiste Section")}
</a></button>
<a
href=
"${prereq_url}"
class=
"btn btn-brand"
>
${_("Go to Prerequiste Section")}
<span
class=
"sr"
>
${_("Go to Prerequiste Section")}
</span>
</a>
</p>
</p>
</p>
</p>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment