Improved usability on plugin page

This commit is contained in:
Raphael Michel
2016-07-29 16:48:21 +02:00
parent 9b573b99e4
commit 1b3cacb196

View File

@@ -26,15 +26,21 @@
{% elif plugin.module in plugins_active %} {% elif plugin.module in plugins_active %}
<button class="btn btn-default btn-block" name="plugin:{{ plugin.module }}" value="disable">{% trans "Disable" %}</button> <button class="btn btn-default btn-block" name="plugin:{{ plugin.module }}" value="disable">{% trans "Disable" %}</button>
{% else %} {% else %}
<button class="btn btn-primary btn-block" name="plugin:{{ plugin.module }}" value="enable">{% trans "Enable" %}</button> <button class="btn btn-default btn-block" name="plugin:{{ plugin.module }}" value="enable">{% trans "Enable" %}</button>
{% endif %} {% endif %}
</div> </div>
</div> </div>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<p class="meta">{% blocktrans trimmed with v=plugin.version a=plugin.author %} {% if plugin.author %}
Version {{ v }} by <em>{{ a }}</em> <p class="meta">{% blocktrans trimmed with v=plugin.version a=plugin.author %}
{% endblocktrans %}</p> Version {{ v }} by <em>{{ a }}</em>
{% endblocktrans %}</p>
{% else %}
<p class="meta">{% blocktrans trimmed with v=plugin.version a=plugin.author %}
Version {{ v }}
{% endblocktrans %}</p>
{% endif %}
<p>{{ plugin.description }}</p> <p>{{ plugin.description }}</p>
{% if plugin.app.compatibility_errors %} {% if plugin.app.compatibility_errors %}
<div class="alert alert-warning"> <div class="alert alert-warning">