portal/storage: link from automation list

This commit is contained in:
Iain Learmonth 2022-11-01 10:20:27 +00:00
parent 293acba317
commit acac383c01

View file

@ -144,7 +144,7 @@
<td>{% if automation.enabled %}✅{% else %}❌{% endif %}</td> <td>{% if automation.enabled %}✅{% else %}❌{% endif %}</td>
<td> <td>
{% if automation.short_name in states %} {% if automation.short_name in states %}
<a href="#" title="{{ states[automation.short_name].lock or 'Unlocked' }}" class="text-decoration-none"> <a href="{{ url_for("portal.storage.storage_edit", storage_key=automation.short_name) }}" title="{{ states[automation.short_name].lock or 'Unlocked' }}" class="text-decoration-none">
{% if states[automation.short_name].lock %}🔒{% else %}🔓{% endif %} {% if states[automation.short_name].lock %}🔒{% else %}🔓{% endif %}
</a> </a>
{% else %} {% else %}