disks: Minor fixes for partition expansion button

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2017-04-10 09:56:39 +05:30
parent 790db846a9
commit d24e09199b
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -74,7 +74,7 @@
</div>
</div>
<h3>Partition expansion</h3>
<h3>{% trans "Partition Expansion" %}</h3>
{% if expandable_root_size %}
<p>
{% blocktrans trimmed %}
@ -85,7 +85,8 @@
{% endblocktrans %}
</p>
<p>
<a class="btn btn-primary btn-md" href="{% url 'disks:expand' %}">
<a class="btn btn-primary btn-md" href="{% url 'disks:expand' %}"
role="button">
{% trans "Expand Root Partition" %}</a>
</p>
{% else %}
@ -96,7 +97,8 @@
{% endblocktrans %}
</p>
<p>
<a class="btn btn-primary btn-md disabled" href="{% url 'disks:expand' %}">
<a class="btn btn-primary btn-md disabled"
href="{% url 'disks:expand' %}" role="button">
{% trans "Expand Root Partition" %}</a>
</p>
{% endif %}