[fix] translate plugin name and description in template

This commit is contained in:
Thomas Pointhuber 2016-03-02 17:16:46 +01:00
parent b8d1081756
commit 9a94b36593
1 changed files with 2 additions and 2 deletions

View File

@ -191,10 +191,10 @@
{% for plugin in plugins %} {% for plugin in plugins %}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="panel-title">{{ plugin.name }}</h3> <h3 class="panel-title">{{ _(plugin.name) }}</h3>
</div> </div>
<div class="panel-body"> <div class="panel-body">
<div class="col-xs-6 col-sm-4 col-md-6">{{ plugin.description }}</div> <div class="col-xs-6 col-sm-4 col-md-6">{{ _(plugin.description) }}</div>
<div class="col-xs-6 col-sm-4 col-md-6"> <div class="col-xs-6 col-sm-4 col-md-6">
{{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }} {{ checkbox_toggle('plugin_' + plugin.id, plugin.id not in allowed_plugins) }}
</div> </div>