<divclass="summary {% if t.state == 'NEW' or t.state == 'SAVING'%}unfinished{% endif %}">
<divclass="summary {% if t.state == 'NEW' or t.state == 'SAVING'%}unfinished{% endif %}">
<divclass="name">{{t.name}}
<divclass="name">
{% if t.myshares %}
{{t.name}}
<ul>
{% for i in t.myshares %}
<li>share {{i.name}} -> {{i.group}}</li>
{% endfor %}
{% endif %}
</div>
</div>
<divclass="status">{{t.state}}</div>
<divclass="status">{{t.state}}</div>
<divclass="actions">
<divclass="actions">
{% if t.state == 'READY' %}
<ahref="#"class="try-template-button"data-id="{{t.id}}"title="{% trans "Try"%}">
<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="#"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="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"%}">
<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="#"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>