<divclass="summary {% if t.state == 'NEW' or t.state == 'SAVING'%}unfinished{% endif %}">
<divclass="name">{{t.name}}
{% if t.myshares %}
<ul>
{% for i in t.myshares %}
<li>share {{i.name}} -> {{i.group}}</li>
{% endfor %}
{% endif %}
<divclass="name">
{{t.name}}
</div>
<divclass="status">{{t.state}}</div>
<divclass="actions">
{% if t.state == 'READY' %}
<ahref="#"class="try-template-button"data-id="{{t.id}}"title="{% trans "Try"%}">
<imgsrc="static/icons/control.png"alt="{% trans "Start"%}"/></a>
<imgsrc="/static/icons/control.png"alt="{% trans "Start"%}"/></a>
<ahref="#"title="{% trans "Edit"%}"><imgsrc="/static/icons/pencil.png"alt="{% trans "Edit"%}"/></a>
<ahref="#"class="template-share"data-id="{{t.id}}"data-gid="{{group.id}}"title="{% trans "Share"%}"><imgsrc="/static/icons/user-share.png"alt="{% trans "Share"%}"/></a>
{% endif %}
<ahref="#"class="delete-template-button"data-id="{{ t.id }}"data-name="{{ t.name }}"title="{% trans "Remove"%}"><imgsrc="/static/icons/minus-circle.png"alt="{% trans "Remove"%}"/></a>
<ahref="#"class="template-share"data-id="{{t.id}}"title="{% trans "Share"%}"><imgsrc="/static/icons/user-share.png"alt="{% trans "Share"%}"/></a>
<ahref="#"class="try-template-button"data-id="{{t.id}}"title="{% trans "Try"%}">
<imgsrc="/static/icons/control.png"alt="{% trans "Start"%}"/></a>
<ahref="#"class="template-share"data-id="{{t.id}}"{%ifgroup%}data-gid="{{group.id}}"{%endif%}title="{% trans "Share"%}"><imgsrc="/static/icons/user-share.png"alt="{% trans "Share"%}"/></a>
<ahref="#"class="template-share"data-id="{{t.id}}"data-gid="{{group.id}}"title="{% trans "Share"%}"><imgsrc="/static/icons/user-share.png"alt="{% trans "Share"%}"/></a>