#: templates/telemeta/geo_continents.html:26
#: templates/telemeta/mediaitem_detail.html:119
msgid "List"
-msgstr "Liste"
+msgstr "Lister"
#: templates/telemeta/collection_detail.html:64
msgid "Add item"
rights = WeakForeignKey('Rights', verbose_name=_('rights'))
# Archiving data
- code = CharField(_('code'), unique=True, blank=True, required=True, help_text=_('CollectionCode-ItemCode'))
+ code = CharField(_('code'), unique=True, blank=True, required=True, help_text=_('CollectionCode_ItemCode'))
old_code = CharField(_('original code'), unique=False, blank=True)
track = CharField(_('item number'))
collector_selection = CharField(_('collector selection'))
<img src="{{ STATIC_URL }}telemeta/images/collections_red.png" style="vertical-align:middle" /> Collection : {% trans "New" %}
{% endblock %}
-{% block title_buttons %}
- <a href="{% url "telemeta-collections" %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
-{% endblock %}
-
{% block cancel %}
- <a href="{% url "telemeta-collections" %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
- {% endblock %}
\ No newline at end of file
+ <a id="cancel" href="{% url "telemeta-collections" %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+
+ {% block cancel2 %}
+ <a id="cancel" href="{% url "telemeta-collections" %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+
{% endblock %}
{% block title_buttons %}
- <a href="{% url "telemeta-collection-detail" object.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
+<div class="fixedWidthAsPlayer">
+ <img id="wait-img" style="display:none" style="vertical-align:middle" alt="wait" src="{{ STATIC_URL }}telemeta/images/wait.gif" />
+ {% block cancel %}
+ <a id="cancel" href="{% url "telemeta-collection-detail" object.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+ {% if perms.telemeta.change_mediacollection %}
+ <a id="save" href="#" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; $('#_editForm').submit();">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-floppy-disk"></span> {% trans "Save" %}
+ </button>
+ </a>
+ {% endif %}
+</div>
{% endblock %}
{% block infos %}
{% endfor %}
<div align="center" style="margin-top:3ex;">
- {% block cancel %}
- <a href="{% url "telemeta-collection-detail" object.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
- {% endblock %}
- {% if perms.telemeta.change_mediacollection %}
- <input type="submit" value="{% trans "Save" %}" class="default" name="_save"/>
- {% endif %}
+ {% block cancel2 %}
+ <a id="cancel" href="{% url "telemeta-collection-detail" object.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+ {% if perms.telemeta.change_mediacollection %}
+ <a id="save" href="#" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; $('#_editForm').submit();">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-floppy-disk"></span> {% trans "Save" %}
+ </button>
+ </a>
+ {% endif %}
+
</div>
</form>
<img src="{{ STATIC_URL }}telemeta/images/item.png" alt="item" style="vertical-align:middle" /> Item : {% trans "New" %}
{% endblock %}
-{% block title_buttons %}
- <a href="{% url "telemeta-items" %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
-{% endblock %}
+ {% block cancel %}
+ <a id="cancel" href="{% url "telemeta-items" %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
- {% block cancel %}
- <a href="{% url "telemeta-items" %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
+ {% block cancel2 %}
+ <a id="cancel" href="{% url "telemeta-items" %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
{% endblock %}
{% block title_buttons %}
<div class="fixedWidthAsPlayer">
- <a href="{% url "telemeta-item-detail" item.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
+ <img id="wait-img" style="display:none" style="vertical-align:middle" alt="wait" src="{{ STATIC_URL }}telemeta/images/wait.gif" />
+ {% block cancel %}
+ <a id="cancel" href="{% url "telemeta-item-detail" item.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+ {% if perms.telemeta.change_mediaitem %}
+ <a id="save" href="#" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; $('#_editForm').submit();">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-floppy-disk"></span> {% trans "Save" %}
+ </button>
+ </a>
+ {% endif %}
</div>
{% endblock %}
{% endblock player %}
-
-
{% block infos %}
<div>
- <form enctype="multipart/form-data" id="_editItemForm" method="post" action="">{% csrf_token %}
+ <form enctype="multipart/form-data" id="_editForm" method="post" action="">{% csrf_token %}
<ul class="nav nav-tabs" role="tablist">
<li class="active"><a href="#general" role="tab" data-toggle="tab">{% trans "General" %}</a></li>
</div>
<div align="center" style="margin-top:3ex;">
- {% block cancel %}
- <a href="{% url "telemeta-item-detail" item.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
+ {% block cancel2 %}
+ <a id="cancel" href="{% url "telemeta-item-detail" item.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
{% endblock %}
-
{% if perms.telemeta.change_mediaitem %}
- <input type="submit" value="{% trans "Save" %}" class="default" name="_save" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; setTimeout(function(){d.getElementById('_editItemForm').submit();},300); return false;"/>
- <img id="wait-img" style="display:none" style="vertical-align:middle" alt="wait" src="{{ STATIC_URL }}telemeta/images/wait.gif" />
+ <a id="save" href="#" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; $('#_editForm').submit();">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-floppy-disk"></span> {% trans "Save" %}
+ </button>
+ </a>
{% endif %}
</div>
<img src="{{ STATIC_URL }}telemeta/images/{{ type }}.png" style="vertical-align:middle" /> {{ type }} : {% trans "New" %}
{% endblock %}
-{% block title_buttons %}
- <a href="{% url "telemeta-resource-list" type %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
-{% endblock %}
+ {% block cancel %}
+ <a id="cancel" href="{% url "telemeta-resource-list" type %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
- {% block cancel %}
- <a href="{% url "telemeta-resource-list" type %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
- {% endblock %}
+ {% block cancel2 %}
+ <a id="cancel" href="{% url "telemeta-resource-list" type %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
{% endblock %}
{% block title_buttons %}
- <div class="fixedWidthAsPlayer">
+<div class="fixedWidthAsPlayer">
{% if perms.telemeta.change_mediacorpus or perms.telemeta.change_mediafonds %}
- <a href="{% url "telemeta-resource-edit" type resource.public_id %}" class="component_icon button icon_edit">{% trans "Edit" %}</a>
- {% endif %}
- {% if perms.telemeta.add_mediacorpus or perms.telemeta.add_mediafonds %}
- <a href="{% url "telemeta-resource-copy" type resource.public_id %}" class="component_icon button icon_copy">{% trans "Copy" %}</a>
+ <a href="{% url "telemeta-resource-edit" type resource.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-edit"></span> {% trans "Edit" %}
+ </button>
+ </a>
+ <a href="{% url "telemeta-resource-copy" type resource.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-new-window"></span> {% trans "Copy" %}
+ </button>
+ </a>
{% endif %}
{% if user.is_authenticated %}
- <a href="#" id ="_add_to_playlist" class="component_icon button icon_add_to_playlist">{% trans "Add to playlist" %}</a>
+ <a id="_add_to_playlist" href='#'>
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-pushpin"></span> {% trans "List" %}
+ </button>
+ </a>
{% endif %}
- </div>
+
+</div>
{% endblock %}
{% block content %}
{% endblock %}
{% block title_buttons %}
- <a href="{% url "telemeta-resource-detail" type resource.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
+<div class="fixedWidthAsPlayer">
+ <img id="wait-img" style="display:none" style="vertical-align:middle" alt="wait" src="{{ STATIC_URL }}telemeta/images/wait.gif" />
+ {% block cancel %}
+ <a id="cancel" href="{% url "telemeta-resource-detail" type resource.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+ <!--
+ {% if perms.telemeta.change_mediaresource %}
+ <a id="save" href="#" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; $('#_editForm').submit();">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-floppy-disk"></span> {% trans "Save" %}
+ </button>
+ </a>
+ {% endif %}
+ -->
+</div>
{% endblock %}
{% block infos %}
</div>
<div align="center" style="margin-top:3ex;">
- {% block cancel %}
- <a href="{% url "telemeta-resource-detail" type resource.public_id %}" class="component_icon button icon_cancel">{% trans "Cancel" %}</a>
- {% endblock %}
- {% if perms.telemeta.change_mediacorpus or perms.telemeta.change_mediafonds %}
- <input type="submit" value="{% trans "Save" %}" class="default" name="_save"/>
- {% endif %}
+ {% block cancel2 %}
+ <a id="cancel" href="{% url "telemeta-resource-detail" type resource.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-remove"></span> {% trans "Cancel" %}
+ </button>
+ </a>
+ {% endblock %}
+ {% if perms.telemeta.change_mediacorpus or perms.telemeta.change_mediafonds %}
+ <input type="submit" value="{% trans "Save" %}" class="default" name="_save"/>
+ <!--
+ <a id="save" href="#" onclick="var d=document; d.getElementById('wait-img').style.display='inline'; $('#_editForm').submit();">
+ <button type="submit" class="btn btn-default" name="_save">
+ <span class="glyphicon glyphicon-floppy-disk"></span> {% trans "Save" %}
+ </button>
+ </a>
+ -->
+ {% endif %}
</div>
</form>