Page MenuHomec4science

webdeposit_index.html
No OneTemporary

File Metadata

Created
Tue, Feb 4, 13:08

webdeposit_index.html

{#
## This file is part of Invenio.
## Copyright (C) 2013 CERN.
##
## Invenio is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option) any later version.
##
## Invenio is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Invenio; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#}
{% extends "page.html" %}
{% block body %}
<div class="page-header">
<h3>
{{ _(deposition_type) }}
<small>
{{ _('select or create deposition') }}
<a class="btn btn-info pull-right"
href="{{ url_for('webdeposit.create_new', deposition_type=deposition_type) }}">
<i class="icon-edit icon-white"></i> {{ _('New Deposition') }}
</a>
</small>
</h3>
</div>
<div class="row">
{% if drafts %}
<ul class="nav nav-tabs nav-stacked offset3 span6">
{% for draft in drafts %}
<li> <a href="{{ url_for('webdeposit.add', deposition_type=draft.workflow.name, uuid=draft.uuid) }}">
<i class="icon-chevron-right pull-right"></i>
{{ '<strong>'|safe if uuid == draft.uuid }}
{{ draft.workflow.name }}:
{% if draft.form_values and draft.form_values.title %}
{{ draft.form_values.title }}
{% else %}
{{ _('Untitled') }}
{% endif %}
{{ '</strong>'|safe if uuid == draft.uuid }}
<span style="font-size: 80%;" class="muted">{{ draft.timestamp|invenio_pretty_date }}</span>
</a>
</li>
{% endfor %}
</ul>
{% else %}
<div class="span12">
<strong>{{ _('There is no ongoing deposition.') }}</strong>
</div>
{% endif %}
</div>
{% if past_depositions %}
<div class="row" style="margin-top: 22px;">
<ul class="nav nav-list">
<li class="divider" style="overflow: visible;"></li>
</ul>
<h4 class="offset2"style="margin-top: 25px;">Past depositions</h4>
<ul class="nav nav-tabs nav-stacked offset3 span6">
{% for dep in past_depositions %}
{% if dep.extra_data.recid %}
<li> <a href="/record/{{ dep.extra_data.recid }}">
<i class="icon-chevron-right pull-right"></i>
{{ dep.name }}:
{% if dep.extra_data.title %}
{{ dep.extra_data.title }}
{% else %}
{{ _('Untitled') }}
{% endif %}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
{% endif %}
{% endblock %}

Event Timeline