mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
udiskie: Show special message when no storage device available
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4ca97fc872
commit
15345aeb47
@ -28,6 +28,13 @@
|
|||||||
|
|
||||||
<h3>{% trans "Devices" %}</h3>
|
<h3>{% trans "Devices" %}</h3>
|
||||||
|
|
||||||
|
{% if not devices %}
|
||||||
|
<p>
|
||||||
|
{% blocktrans trimmed %}
|
||||||
|
There are no additional storage devices attached.
|
||||||
|
{% endblocktrans %}
|
||||||
|
</p>
|
||||||
|
{% else %}
|
||||||
<table class="table table-bordered table-condensed table-striped">
|
<table class="table table-bordered table-condensed table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -63,5 +70,6 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user