You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
|
|
<ul id="entries" class="notebook entries unstyled" data-c_id="{{c_id}}" data-session_id="{{session_id}}" >
|
|
{% for item in items %}
|
|
<li id="notebook_{{item.id}}" class="notebook note" data-id="{{item.id}}" data-c_id="{{item.c_id}}" data-type="notebook">
|
|
<div class="title sectiontitle">
|
|
{% if is_allowed_to_edit %}
|
|
<div class="pull-right element-actions">
|
|
<a href="{{root}}&action=edit&id={{item.id}}"
|
|
title="{{'Edit'|get_lang}}">
|
|
<i class="size-22 icon-edit"></i>
|
|
</a>
|
|
<a href="{{root}}&action=delete&id={{item.id}}"
|
|
onclick="ui.remove('notebook_{{item.id}}', this); return false;"
|
|
title="{{'Delete'|get_lang}}">
|
|
<i class="size-22 icon-delete"></i>
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{{item.title}}
|
|
|
|
{% if item.session_id %}
|
|
{{session_image}}
|
|
{% endif %}
|
|
</div>
|
|
<div class="sectioncomment">
|
|
{{item.description}}
|
|
</div>
|
|
<div class="sectionfooter footer">{{item.update_date|date}}</div>
|
|
</li>
|
|
{% endfor %}
|
|
</ul> |