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
0b3f9ee5
Commit
0b3f9ee5
authored
Feb 09, 2016
by
clrux
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11457 from edx/clrux/ac-252
LMS: updating response status messaging
parents
f8c66c1a
9e0497df
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
12 deletions
+11
-12
common/lib/capa/capa/inputtypes.py
+6
-6
common/lib/capa/capa/templates/choicegroup.html
+3
-4
common/lib/capa/capa/templates/optioninput.html
+1
-1
common/lib/capa/capa/templates/schematicinput.html
+1
-1
No files found.
common/lib/capa/capa/inputtypes.py
View file @
0b3f9ee5
...
...
@@ -93,12 +93,12 @@ class Status(object):
}
tooltips
=
{
# Translators: these are tooltips that indicate the state of an assessment question
'correct'
:
_
(
'This is correct.'
),
'incorrect'
:
_
(
'This is incorrect.'
),
'partially-correct'
:
_
(
'This is partially correct.'
),
'unanswered'
:
_
(
'This is unanswered.'
),
'unsubmitted'
:
_
(
'This is unanswered.'
),
'queued'
:
_
(
'This is being processed.'
),
'correct'
:
_
(
'This
answer
is correct.'
),
'incorrect'
:
_
(
'This
answer
is incorrect.'
),
'partially-correct'
:
_
(
'This
answer
is partially correct.'
),
'unanswered'
:
_
(
'This
answer
is unanswered.'
),
'unsubmitted'
:
_
(
'This
answer
is unanswered.'
),
'queued'
:
_
(
'This
answer
is being processed.'
),
}
self
.
display_name
=
names
.
get
(
status
,
unicode
(
status
))
self
.
display_tooltip
=
tooltips
.
get
(
status
,
u''
)
...
...
common/lib/capa/capa/templates/choicegroup.html
View file @
0b3f9ee5
...
...
@@ -47,11 +47,11 @@
<span
class=
"sr"
>
%for choice_id, choice_description in choices:
% if choice_id in value:
${choice_description},
${choice_description},
%endif
%endfor
-
${status.display_
name
}
${status.display_
tooltip
}
</span>
</span>
% endif
...
...
@@ -62,4 +62,4 @@
% if msg:
<span
class=
"message"
>
${msg|n}
</span>
% endif
</form>
\ No newline at end of file
</form>
common/lib/capa/capa/templates/optioninput.html
View file @
0b3f9ee5
...
...
@@ -16,7 +16,7 @@
<span
class=
"status ${status.classname}"
id=
"status_${id}"
aria-describedby=
"input_${id}"
data-tooltip=
"${status.display_tooltip}"
>
<span
class=
"sr"
>
${value|h} - ${status.display_
name
}
</span>
<span
class=
"sr"
>
${value|h} - ${status.display_
tooltip
}
</span>
</span>
</div>
<p
class=
"answer"
id=
"answer_${id}"
></p>
...
...
common/lib/capa/capa/templates/schematicinput.html
View file @
0b3f9ee5
...
...
@@ -18,6 +18,6 @@
<span
id=
"answer_${id}"
></span>
<div
class=
"indicator-container"
>
<span
class=
"status ${status.classname}"
id=
"status_${id}"
aria-describedby=
"input_${id}"
></span>
<span
class=
"sr"
>
${status.display_
name
}
</span>
<span
class=
"sr"
>
${status.display_
tooltip
}
</span>
</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