%def name="render_library_item_info( ldda )">
%if ldda.state == 'error':
Job error (click name for more info)
%elif ldda.state == 'queued':
This job is queued
%elif ldda.state == 'running':
This job is running
%elif ldda.state == 'upload':
This dataset is uploading
%else:
${ldda.message}
%endif
%def>
${render_library_item_info( ldda )}