Project

General

Profile

« Previous | Next » 

Revision b94039e0

Added by Serghei Mihai over 9 years ago

objects management forms and templates reviewed

View differences:

corbo/templates/corbo/manage.html
15 15
    <option value='{{ category.id }}'{% if category_id == category.id %} selected{% endif %}>{{ category }}</option>
16 16
    {% endfor %}
17 17
  </select>
18
  <span><a class="icon add" href="{% url "add_category" %}" rel="popup">{% trans "add category" %}</a></span>
18
  <span>
19
    {% if category_id %}
20
    <a class="icon edit" href="{% url "edit_category" category_id %}" rel="popup" title="{% trans "edit category" %}"></a>
21
    <a class="icon delete" href="{% url "delete_category" category_id %}" rel="popup" title="{% trans "delete category" %}"></a>
22
    {% endif %}
23
    <a class="icon add" href="{% url "add_category" %}" rel="popup" title="{% trans "add category" %}"></a></span>
19 24
</div>
20 25
<div id="management">
21 26
  <h4>{% trans "Announces" %}</h4>

Also available in: Unified diff