oshipka/vm_gen/templates/html/_list_item.html

10 lines
381 B
HTML
Raw Normal View History

2020-08-11 19:02:29 +02:00
<li>
2021-05-08 15:52:52 +02:00
{% if has_permission('[[ name|camel_to_snake ]]', 'get') %}
2020-08-11 19:02:29 +02:00
<a href="{{ url_for('get_[[ name|camel_to_snake ]]', uuid=instance.id) }}">
2021-05-08 15:52:52 +02:00
{% endif %}
{% include "[[ name|camel_to_snake ]]/_title.html" %}
{% if has_permission('[[ name|camel_to_snake ]]', 'get') %}
</a>
{% endif %}
2020-08-11 19:02:29 +02:00
{% include "[[ name|camel_to_snake ]]/_actions.html" %}
</li>