Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xblock-lti-consumer
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
xblock-lti-consumer
Commits
9efde3f2
Commit
9efde3f2
authored
May 29, 2017
by
Hasnain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL-415 | marking HTML strings.
parent
896979c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
lti_consumer/templates/html/student.html
+8
-5
No files found.
lti_consumer/templates/html/student.html
View file @
9efde3f2
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<h2
class=
"problem-header"
>
<h2
class=
"problem-header"
>
## Translators: "External resource" means that this learning module is hosted on a platform external to the edX LMS
## Translators: "External resource" means that this learning module is hosted on a platform external to the edX LMS
${display_name}
(External resource)
${display_name}
{_("(External resource)")}
</h2>
</h2>
% if has_score and weight:
% if has_score and weight:
...
@@ -32,14 +33,16 @@
...
@@ -32,14 +33,16 @@
class=
"btn btn-pl-primary btn-base btn-lti-modal"
class=
"btn btn-pl-primary btn-base btn-lti-modal"
data-target=
"#${element_id + '-lti-modal'}"
data-target=
"#${element_id + '-lti-modal'}"
>
>
${button_text or 'View resource in a modal window'}
<i
class=
"icon fa fa-external-link"
></i>
<
%
alternate_button_text =
{_("View
resource
in
a
modal
window
")}
%
>
${button_text or alternate_button_text}
<i
class=
"icon fa fa-external-link"
></i>
</button>
</button>
% else:
% else:
<button
<button
class=
"btn btn-pl-primary btn-base btn-lti-new-window"
class=
"btn btn-pl-primary btn-base btn-lti-new-window"
data-target=
"${form_url}"
data-target=
"${form_url}"
>
>
${button_text or 'View resource in a new window'}
<i
class=
"icon fa fa-external-link"
></i>
<
%
alternate_button_text =
{_("View
resource
in
a
new
window
")}
%
>
${button_text or alternate_button_text}
<i
class=
"icon fa fa-external-link"
></i>
</button>
</button>
% endif
% endif
</p>
</p>
...
@@ -74,12 +77,12 @@
...
@@ -74,12 +77,12 @@
% endif
% endif
% elif not hide_launch:
% elif not hide_launch:
<h3
class=
"error_message"
>
<h3
class=
"error_message"
>
Please provide launch_url. Click "Edit", and fill in the required fields.
{_("Please provide launch_url. Click 'Edit', and fill in the required fields.")}
</h3>
</h3>
% endif
% endif
% if has_score and comment:
% if has_score and comment:
<h4
class=
"problem-feedback-label"
>
Feedback on your work from the grader:
</h4>
<h4
class=
"problem-feedback-label"
>
{_("Feedback on your work from the grader:")}
</h4>
<div
class=
"problem-feedback"
>
<div
class=
"problem-feedback"
>
## sanitized with bleach in view
## sanitized with bleach in view
${comment}
${comment}
...
...
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