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
9e0497df
Commit
9e0497df
authored
Feb 08, 2016
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating response status messaging
parent
74bdef1e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
common/lib/capa/capa/inputtypes.py
+6
-6
common/lib/capa/capa/templates/choicegroup.html
+1
-1
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 @
9e0497df
...
...
@@ -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 @
9e0497df
...
...
@@ -51,7 +51,7 @@
%endif
%endfor
-
${status.display_
name
}
${status.display_
tooltip
}
</span>
</span>
% endif
...
...
common/lib/capa/capa/templates/optioninput.html
View file @
9e0497df
...
...
@@ -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 @
9e0497df
...
...
@@ -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