Commit 3a5cdb4e authored by Jerome Mariette's avatar Jerome Mariette
Browse files

better handle of delete/refresh buttons from active wf

parent 9040e9d1
......@@ -159,10 +159,18 @@
'<td>${workflow.end_time}</td>',
'<td>',
' <div class="btn-group">',
' <button type="button" id="activewf_refresh_${workflow.id}" class="btn btn-default btn-xs" aria-label="Left Align">',
' {{if workflow.status == "started"}}',
' <button type="button" id="activewf_refresh_${workflow.id}" class="btn btn-default btn-xs" aria-label="Left Align">',
' {{else}}',
' <button type="button" id="activewf_refresh_${workflow.id}" disabled class="btn btn-default btn-xs" aria-label="Left Align">',
' {{/if}}',
' <span class="glyphicon glyphicon-refresh"></span>',
' </button>',
' <button type="button" id="activewf_delete_${workflow.id}" class="btn btn-default btn-xs" aria-label="Left Align">',
' {{if workflow.status == "started"}}',
' <button type="button" id="activewf_delete_${workflow.id}" disabled class="btn btn-default btn-xs" aria-label="Left Align">',
' {{else}}',
' <button type="button" id="activewf_delete_${workflow.id}" class="btn btn-default btn-xs" aria-label="Left Align">',
' {{/if}}',
' <span class="glyphicon glyphicon-remove"></span>',
' </button>',
' </div>',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment