src/egonomy/templates/partial/image_in_list.html
changeset 159 b98558f8d2c1
parent 126 b844bdfb8bc2
child 168 c90576d18319
equal deleted inserted replaced
158:8860d922f37c 159:b98558f8d2c1
    31 </a>
    31 </a>
    32 <div class="tools-2">
    32 <div class="tools-2">
    33     <ul class="clearfix">
    33     <ul class="clearfix">
    34         <li><a class="tool twitter" href="#" title="{% trans 'Share on Twitter'%}"></a></li>
    34         <li><a class="tool twitter" href="#" title="{% trans 'Share on Twitter'%}"></a></li>
    35         <li><a class="tool facebook" href="#" title="{% trans 'Share on Facebook'%}"></a></li>
    35         <li><a class="tool facebook" href="#" title="{% trans 'Share on Facebook'%}"></a></li>
    36         <li><a class="tool plus" href="#" title="+"></a></li>
    36         {% if user.is_authenticated %}
       
    37         <li><a class="tool plus open-popin" href="#add-to-collection" title="{% trans 'Add to a collection'%}"></a></li>
       
    38         {% else %}
       
    39         <li><a class="tool plus" href="{% url 'login' %}" title="{% trans 'Log in to add to a collection' %}"></a></li>
       
    40         {% endif %}
    37         <li><a class="tool cut" href="{% url 'create_fragment' image_id=img.id %}" title="{% trans 'Create a fragment'%}"></a></li>
    41         <li><a class="tool cut" href="{% url 'create_fragment' image_id=img.id %}" title="{% trans 'Create a fragment'%}"></a></li>
    38     </ul>
    42     </ul>
    39 </div>
    43 </div>