Merge branch 'release/v15.6.6'
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
{% csrf_token %}
|
||||
<p><input class="button" type="submit" value="Save" name="_save"></p>
|
||||
<p><input class="button" type="submit" value="Save and Keep Editing" name="_continue"></p>
|
||||
<p><input class="button" type="submit" value="Save and Create New Session" name="_addanother"></p>
|
||||
<p><input class="button" type="submit" value="Save and Create Another Session" name="_addanother"></p>
|
||||
</form>
|
||||
<div class="padded" id="id_guidance">
|
||||
</li>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
</table>
|
||||
<p><input class="button" type="submit" value="Save" name="_save"></p>
|
||||
<p><input class="button" type="submit" value="Save and Keep Editing" name="_continue"></p>
|
||||
<p><input class="button" type="submit" value="Save and Create New Session" name="_addanother"></p>
|
||||
<p><input class="button" type="submit" value="Save and Create Another Session" name="_addanother"></p>
|
||||
<div id="id_guidance" class="padded">
|
||||
|
||||
</div>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
</div>
|
||||
<p><input class="button" type="submit" value="Save" name="_save"></p>
|
||||
<p><input class="button" type="submit" value="Save and Keep Editing" name="_continue"></p>
|
||||
<p><input class="button" type="submit" value="Save and Create New Session" name="_addanother"></p>
|
||||
<p><input class="button" type="submit" value="Save and Create Another Library Session" name="_addanother"></p>
|
||||
</form>
|
||||
|
||||
</li>
|
||||
|
||||
@@ -772,7 +772,8 @@ def step_to_string(step):
|
||||
|
||||
durationtype = step['durationType']
|
||||
if step['durationValue'] == 0:
|
||||
return '',type, -1, -1
|
||||
if durationtype not in ['RepeatUntilStepsCmplt','RepeatUntilHrLessThan','RepeatUntilHrGreaterThan']:
|
||||
return '',type, -1, -1,1
|
||||
|
||||
if durationtype == 'Time':
|
||||
unit = 'min'
|
||||
@@ -976,8 +977,10 @@ def step_to_string(step):
|
||||
|
||||
name = step['wkt_step_name']
|
||||
|
||||
intensity = step['intensity']
|
||||
|
||||
try:
|
||||
intensity = step['intensity']
|
||||
except KeyError:
|
||||
intensity = 0
|
||||
|
||||
s = '{name} {intensity} {duration} {unit} {target} {repeat}'.format(
|
||||
nr = nr,
|
||||
|
||||
Reference in New Issue
Block a user