entry.html 740 Bytes
Newer Older
1 2
{% extends "box/base/entry.html" %}
{% load i18n %}
3
{% load staticfiles %}
4 5 6 7 8 9 10 11 12 13 14 15 16 17
{% get_current_language as LANGUAGE_CODE %}

{% block content %}
<li class="entry key" id="key-{{key.id}}" style="display: none">
    {{block.super}}
</li>
{% endblock content %}

{% block summary %}
<div class="summary">
    <div class="name">
        {{key}}
    </div>
    <div class="actions">
18
        <a href="#" class="remove delete-key" data-url="{% url one.views.key_ajax_delete %}" data-id="{{key.id}}">
19
            <img src="{% static "icons/minus-circle.png" %}" alt="{% trans 'Remove' %}" />
20 21 22 23 24 25 26 27 28
        </a>
    </div>
    <div class="clear"></div>
</div>
{% endblock summary %}

{% block details %}
<textarea>{{key.key}}</textarea>
{% endblock details %}