Skip to content

Commit

Permalink
Submission button will always enable (#1993)
Browse files Browse the repository at this point in the history
* chore: make upload files button always enable and validate before upload

* chore: submit button will not disable and validate before submit instead

* chore: build static

* chore: linting

* test: update tests

* chore: update translations

* chore: translation

* chore: make sure empty response doesn't get send and update tests

* chore: update translations

* chore: version bump
  • Loading branch information
leangseu-edx authored Aug 10, 2023
1 parent b5760a8 commit 99bc938
Show file tree
Hide file tree
Showing 26 changed files with 450 additions and 517 deletions.
2 changes: 1 addition & 1 deletion openassessment/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
Initialization Information for Open Assessment Module
"""
__version__ = '5.2.3'
__version__ = '5.2.4'
61 changes: 30 additions & 31 deletions openassessment/conf/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: edx-ora2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-14 12:23-0400\n"
"POT-Creation-Date: 2023-07-26 12:59+0000\n"
"PO-Revision-Date: 2014-06-04 15:41-0400\n"
"Last-Translator: Muhammad Ayub khan <[email protected]>\n"
"Language-Team: openedx-translation <[email protected]>\n"
Expand Down Expand Up @@ -1053,8 +1053,8 @@ msgstr ""
msgid ""
"\n"
" This is a team assignment for team-set \"%(teamset_name)s\".\n"
" You are currently not on a team in team-set "
"\"%(teamset_name)s\".\n"
" You are currently not on a team in team-set \"%(teamset_name)s"
"\".\n"
" You must be on a team in team-set \"%(teamset_name)s\" to access "
"this team assignment.\n"
" "
Expand Down Expand Up @@ -1098,15 +1098,15 @@ msgstr ""
msgid "Loading"
msgstr ""

#: templates/openassessmentblock/oa_latex_preview.html:7
#: templates/openassessmentblock/oa_latex_preview.html:6
msgid "Preview in LaTeX"
msgstr ""

#: templates/openassessmentblock/oa_latex_preview.html:10
#: templates/openassessmentblock/oa_latex_preview.html:9
msgid "Click to preview your submission in LaTeX."
msgstr ""

#: templates/openassessmentblock/oa_latex_preview.html:15
#: templates/openassessmentblock/oa_latex_preview.html:14
msgid "Preview Response"
msgstr ""

Expand Down Expand Up @@ -1153,8 +1153,8 @@ msgid ""
"\n"
" <span id=\"oa_step_deadline_peer\" class=\"date ora-datetime\" "
"data-datetime=\"%(start_date)s\" data-string=\"available {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand All @@ -1165,8 +1165,8 @@ msgid ""
"\n"
" <span id=\"oa_step_deadline_peer\" class=\"date ora-datetime\" "
"data-datetime=\"%(due_date)s\" data-string=\"due {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand Down Expand Up @@ -1292,10 +1292,10 @@ msgstr ""
#, python-format, python-brace-format
msgid ""
"\n"
" <span id=\"oa_step_deadline_response\" class=\"date ora-"
"datetime\" data-datetime=\"%(start_date)s\" data-string=\"available {date} "
"(in %(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
" <span id=\"oa_step_deadline_response\" class=\"date ora-datetime"
"\" data-datetime=\"%(start_date)s\" data-string=\"available {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand All @@ -1304,10 +1304,10 @@ msgstr ""
#, python-format, python-brace-format
msgid ""
"\n"
" <span id=\"oa_step_deadline_response\" class=\"date ora-"
"datetime\" data-datetime=\"%(due_date)s\" data-string=\"due {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
" <span id=\"oa_step_deadline_response\" class=\"date ora-datetime"
"\" data-datetime=\"%(due_date)s\" data-string=\"due {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand Down Expand Up @@ -1522,9 +1522,8 @@ msgstr ""
#: templates/openassessmentblock/response/oa_response.html:310
msgid ""
"\n"
" Learn more about team assignments here: (<a "
"target=\"_blank\" href=\"https://support.edx.org/hc/en-us/"
"articles/360000191067-Submit-your-"
" Learn more about team assignments here: (<a target=\"_blank"
"\" href=\"https://support.edx.org/hc/en-us/articles/360000191067-Submit-your-"
"response#h_01FVD8SXM9E5H2DNAG87X25ZHR\">link</a>)\n"
" "
msgstr ""
Expand Down Expand Up @@ -1661,10 +1660,10 @@ msgstr ""
#, python-format, python-brace-format
msgid ""
"\n"
" <span id=\"oa_step_deadline_self\" class=\"date ora-"
"datetime\" data-datetime=\"%(start_date)s\" data-string=\"available {date} "
"(in %(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
" <span id=\"oa_step_deadline_self\" class=\"date ora-datetime"
"\" data-datetime=\"%(start_date)s\" data-string=\"available {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand All @@ -1673,10 +1672,10 @@ msgstr ""
#, python-format, python-brace-format
msgid ""
"\n"
" <span id=\"oa_step_deadline_self\" class=\"date ora-"
"datetime\" data-datetime=\"%(due_date)s\" data-string=\"due {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
" <span id=\"oa_step_deadline_self\" class=\"date ora-datetime"
"\" data-datetime=\"%(due_date)s\" data-string=\"due {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand Down Expand Up @@ -2094,8 +2093,8 @@ msgid ""
"\n"
" <span id=\"oa_step_deadline\" class=\"date ora-datetime\" data-"
"datetime=\"%(start_date)s\" data-string=\"available {date} (in "
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-"
"language=\"%(user_language)s\"></span>\n"
"%(time_until)s)\" data-timezone=\"%(user_timezone)s\" data-language="
"\"%(user_language)s\"></span>\n"
" "
msgstr ""

Expand Down
Loading

0 comments on commit 99bc938

Please sign in to comment.