fix: remove relative due date limit
It was an artificial limit enforced by the frontend. The backend does not have limitations that would prevent it from using a higher value.
This commit is contained in:
committed by
Piotr Surowiec
parent
2af5ddbf8a
commit
e02555816f
@@ -4,7 +4,7 @@
|
||||
<!-- Translators: Please use a generic pluralization that makes sense in most contexts for the second half of the sentence "weeks from learner enrollment date" which is preceded by "Due in: [input entry]" -->
|
||||
<label for="due_in"><%- gettext('Due in:') %></label>
|
||||
<input type="number" id="due_in" name="due_in" value=""
|
||||
placeholder="" autocomplete="off" min="1" max="18" style="width:20%"/>
|
||||
placeholder="" autocomplete="off" min="1" style="width:20%"/>
|
||||
<%- gettext('weeks from learner enrollment date')%>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -19,10 +19,6 @@
|
||||
%>
|
||||
</div>
|
||||
|
||||
<div id="relative_weeks_due_warning_max" class="message-status error">
|
||||
<%- gettext('The maximum number of weeks this subsection can be due in is 18 weeks from the learner enrollment date.') %>
|
||||
</div>
|
||||
|
||||
<div id="relative_weeks_due_warning_min" class="message-status error">
|
||||
<%- gettext('The minimum number of weeks this subsection can be due in is 1 week from the learner enrollment date.') %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user