mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Improved usability on plugin page
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user