Filesubmission input does not reveal queue length
This commit is contained in:
@@ -351,7 +351,7 @@ def filesubmission(element, value, status, render_template, msg=''):
|
||||
if status == 'incomplete': # Flag indicating that the problem has been queued, 'msg' is length of queue
|
||||
status = 'queued'
|
||||
queue_len = msg
|
||||
msg = 'Submitted to grader. (Queue length: %s)' % queue_len
|
||||
msg = 'Submitted to grader.'
|
||||
|
||||
context = { 'id': eid, 'state': status, 'msg': msg, 'value': value,
|
||||
'queue_len': queue_len, 'allowed_files': allowed_files,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<span class="processing" id="status_${id}"></span>
|
||||
<span style="display:none;" class="xqueue" id="${id}" >${queue_len}</span>
|
||||
% endif
|
||||
<span class="debug">(${state})</span>
|
||||
<span style="display:none;" class="debug">(${state})</span>
|
||||
<br/>
|
||||
<span class="message">${msg|n}</span>
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user