PageRenderTime 130ms CodeModel.GetById 125ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/modules/mod_admin/templates/_rsc_edge.tpl

https://code.google.com/p/zotonic/
Smarty Template | 14 lines | 13 code | 1 blank | 0 comment | 0 complexity | 39555e4574e345415fc6fce6936ff785 MD5 | raw file
 1{# Show an object with an unlink option. Used in the admin_edit #}
 2{% with m.rsc[object_id].title as title %}
 3	{% sortable id=#unlink_wrapper tag=edge_id %}
 4	<li id="{{ #unlink_wrapper }}" class="rsc-edge do_unlink">
 5		<span class="clearfix">
 6			<span class="unlink-mover"></span>
 7			<span id="{{ #unlink }}" class="unlink-cross"></span>
 8			<span class="unlink-item"><a href="{% url admin_edit_rsc id=object_id %}" id="{{ #edit }}">{{ title }}</a></span>
 9		</span>
10	</li>
11{% endwith %}
12
13{% wire id=#unlink action={unlink subject_id=subject_id edge_id=edge_id hide=#unlink_wrapper} %}
14{% wire id=#edit target=#unlink_wrapper action={dialog_edit_basics edge_id=edge_id} %}