Page MenuHomec4science

webdeposit_myview.html
No OneTemporary

File Metadata

Created
Mon, Nov 25, 09:16

webdeposit_myview.html

<div class="well">
<h2>My uploads</h2>
{% if not my_depositions %}
<p class="muted">You currently have no uploads.</p>
{% else %}
{% for dep in my_depositions if not dep.is_finished() %}
{%- set deposition_type = None if dep.type.is_default() else dep.type.get_identifier() -%}
{%- if loop.first %}
<h4>Unsubmitted</h4>
<table class="table table-striped">
{%- endif %}
<tr>
<td><a href="{{ url_for('webdeposit.run', deposition_type=deposition_type, uuid=dep.id) }}">{% if dep.title %}
{{ dep.title }}
{% else %}
{{ _('Untitled') }}
{% endif %}</a></td><td>{{ dep.modified|invenio_pretty_date }}</td><td><a href="{{ url_for('webdeposit.delete', deposition_type=deposition_type, uuid=dep.id) }}" class="rmlink" rel="tooltip" title="Delete upload"><i class="icon-trash"></i></a></td>
</tr>
{%- if loop.last %}
</table>
{%- endif %}
{% else %}
{% endfor %}
{% for dep in my_depositions if dep.is_finished() %}
{%- set deposition_type = None if dep.type.is_default() else dep.type.get_identifier() -%}
{%- if loop.first %}
<h4>Submitted</h4>
<table class="table table-striped">
{% endif %}
<tr>
<td><a href="{{ url_for('webdeposit.run', deposition_type=deposition_type, uuid=dep.id) }}">{% if dep.title %}
{{ dep.title }}
{% else %}
{{ _('Untitled') }}
{% endif %}</a></td><td>{{ dep.modified|invenio_pretty_date }}</td><td></td>
</tr>
{%- if loop.last %}
</table>
{%- endif %}
{%- endfor %}
{%- endif %}
</div>

Event Timeline