period added
This commit is contained in:
parent
7039ccd3b9
commit
df67fa3333
1 changed files with 5 additions and 7 deletions
|
@ -98,14 +98,12 @@
|
||||||
</p>
|
</p>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
{% comment %}
|
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Period" %}</span>
|
<span>{% trans "Period" %}: </span>
|
||||||
<span class="pull-right">{{}}</span>
|
<span>{{ vm.created_at|date:'Y/m/d' }} - {% if vm.terminated_at %}{{ vm.terminated_at|date:'Y/m/d' }}{% else %}{% now 'Y/m/d' %}{% endif %}</span>
|
||||||
</p>
|
</p>
|
||||||
{% endcomment %}
|
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Cores" %}</span>
|
<span>{% trans "Cores" %}: </span>
|
||||||
{% if vm.cores %}
|
{% if vm.cores %}
|
||||||
<span class="pull-right">{{vm.cores|floatformat}}</span>
|
<span class="pull-right">{{vm.cores|floatformat}}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -113,11 +111,11 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Memory" %}</span>
|
<span>{% trans "Memory" %}: </span>
|
||||||
<span class="pull-right">{{vm.memory}} GB</span>
|
<span class="pull-right">{{vm.memory}} GB</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span>{% trans "Disk space" %}</span>
|
<span>{% trans "Disk space" %}: </span>
|
||||||
<span class="pull-right">{{vm.disk_size}} GB</span>
|
<span class="pull-right">{{vm.disk_size}} GB</span>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue