Do not include HTML tags in blocktrans
It is not a good idea to include HTML tags in blocktrans.
This confused translators and potentially leads to translation error.
In this case, there is no need to do so.
This commit moves HTML tags outside of blocktrans.
<h4>{% trans "Project Limits" %}</h4>
<div class="quota_title">
<strong class="pull-left">{% trans "Number of Instances" %}</strong>
+ <span class="pull-right">
{% blocktrans trimmed with used=usages.totalInstancesUsed|intcomma quota=usages.maxTotalInstances|intcomma|quotainf %}
- <span class="pull-right">{{ used }} of {{ quota }} Used</span>
+ {{ used }} of {{ quota }} Used
{% endblocktrans %}
+ </span>
</div>
{{ minifyspace }}
<div class="quota_title">
<strong class="pull-left">{% trans "Number of VCPUs" %}</strong>
+ <span class="pull-right">
{% blocktrans trimmed with used=usages.totalCoresUsed|intcomma quota=usages.maxTotalCores|intcomma|quotainf %}
- <span class="pull-right">{{ used }} of {{ quota }} Used</span>
+ {{ used }} of {{ quota }} Used
{% endblocktrans %}
+ </span>
</div>
{{ minifyspace }}
<div class="quota_title">
<strong class="pull-left">{% trans "Total RAM" %}</strong>
+ <span class="pull-right">
{% blocktrans trimmed with used=usages.totalRAMUsed|intcomma quota=usages.maxTotalRAMSize|intcomma|quotainf %}
- <span class="pull-right">{{ used }} of {{ quota }} MB Used</span>
+ {{ used }} of {{ quota }} MB Used
{% endblocktrans %}
+ </span>
</div>
{{ minifyspace }}
{% if cinder_enabled %}
<div class="quota_title">
<strong class="pull-left">{% trans "Number of Volumes" %}</strong>
+ <span class="pull-right">
{% blocktrans with used=usages.totalVolumesUsed|intcomma quota=usages.maxTotalVolumes|intcomma|quotainf %}
- <span class="pull-right">{{ used }} of {{ quota }} Used</span>{% endblocktrans %}
+ {{ used }} of {{ quota }} Used
+ {% endblocktrans %}
+ </span>
</div>
<div id="quota_volume"
class="quota_bar"
<div class="quota_title">
<strong class="pull-left">{% trans "Total Volume Storage" %}</strong>
+ <span class="pull-right">
{% blocktrans with used=usages.gigabytesUsed|intcomma quota=usages.maxTotalVolumeGigabytes|intcomma|quotainf %}
- <span class="pull-right">{{ used }} of {{ quota }} GiB Used</span>{% endblocktrans %}
+ {{ used }} of {{ quota }} GiB Used
+ {% endblocktrans %}
+ </span>
</div>
<div id="quota_volume_storage"
class="quota_bar"
