Commit 54efacc2 by Kálmán Viktor

dashboard: storage i18n

parent 924c7552
...@@ -32,23 +32,29 @@ ...@@ -32,23 +32,29 @@
</div> </div>
</div> </div>
<div class="text-muted text-center"> <div class="text-muted text-center">
{{ stats.used_space}}/{{ stats.total_space }} used {{ stats.used_space}}/{{ stats.total_space }}
</div> </div>
<h3>Missing disks <small>disk objects without images files</small></h3> <h3>
{% trans "Missing disks" %}
<small>{% trans "disk objects without images files" %}</small>
</h3>
{% for m in missing_disks %} {% for m in missing_disks %}
<p> <p>
{{ m }} - {{ m.filename }} {{ m }} - {{ m.filename }}
</p> </p>
{% empty %} {% empty %}
None {% trans "None" %}
{% endfor %} {% endfor %}
<h3>Orphan disks <small>image files without disk object in the database</small></h3> <h3>
{% trans "Orphan disks" %}
<small>{% trans "image files without disk object in the database" %}</small>
</h3>
{% for o in orphan_disks %} {% for o in orphan_disks %}
{{ o }} {{ o }}
{% empty %} {% empty %}
None {% trans "None" %}
{% endfor %} {% endfor %}
</div><!-- .panel-body --> </div><!-- .panel-body -->
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment