{% extends "project/volumes/_limits.html" %} {% load i18n horizon humanize bootstrap %} {% block title %} {% trans "From here you can create a snapshot of a volume." %} {% endblock %} {% block head %} {% trans "Snapshot Limits" %} {% endblock %} {% block gigabytes_used %} {{ usages.totalGigabytesUsed|intcomma }} {% endblock %} {% block gigabytes_used_progress %} "{{ usages.totalGigabytesUsed }}" {% endblock %} {% block type_title %} {% trans "Number of Snapshots" %} {% endblock %} {% block used_of_quota %} {% blocktrans with used=usages.totalSnapshotsUsed|intcomma quota=usages.maxTotalSnapshots|intcomma|quotainf %}{{ used }} of {{ quota }} Used{% endblocktrans %} {% endblock %} {% block type_id %} "quota_snapshots" {% endblock %} {% block total_progress %} "{{ usages.maxTotalSnapshots }}" {% endblock %} {% block used_progress %} "{{ usages.totalSnapshotsUsed }}" {% endblock %} {% block show_progress_bar %} {% widthratio usages.totalSnapshotsUsed usages.maxTotalSnapshots 100 as volumes_percent %} {% if usages.numRequestedItems %} {% widthratio usages.numRequestedItems usages.maxTotalSnapshots 100 as single_step %} {% else %} {% widthratio 1 usages.maxTotalSnapshots 100 as single_step %} {% endif %} {% bs_progress_bar volumes_percent single_step %} {% endblock %}