Skip to content

Commit

Permalink
Dev: Show description in plugin overview
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 23, 2018
1 parent 72b70e4 commit e573915
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions application/views/admin/pluginmanager/overview.php
Expand Up @@ -15,6 +15,12 @@
<div class="col-sm-4"><?php echo $metadata->name; ?></div>
</div>

<!-- Description -->
<div class="form-group col-sm-12">
<label class="col-sm-4 control-label"><?php eT("Description:"); ?></label>
<div class="col-sm-8"><?php echo $metadata->description; ?></div>
</div>

<!-- Version -->
<div class="form-group col-sm-12">
<label class="col-sm-4 control-label"><?php eT("Version:"); ?></label>
Expand Down Expand Up @@ -42,15 +48,15 @@
<div class="form-group col-sm-12">
<label class="col-sm-4 control-label"><?php eT("Active:"); ?></label>
<?php if ($plugin['active']): ?>
<div class="col-sm-4"><span class="fa fa-check text-success"></span></div>
<div class="col-sm-4">
<div class="col-sm-2"><span class="fa fa-check text-success"></span></div>
<div class="col-sm-2">
<a data-toggle="tooltip" title="<?php eT('Deactivate'); ?>" href='#activate' data-action='activate' data-id='<?php echo $plugin['id']; ?>' class='ls_action_changestate btn btn-warning btn-xs btntooltip'>
<span class='fa fa-power-off'></span>
</a>
</div>
<?php else: ?>
<div class="col-sm-4"><span class="fa fa-times text-warning"></span></div>
<div class="col-sm-4">
<div class="col-sm-2"><span class="fa fa-times text-warning"></span></div>
<div class="col-sm-2">
<a data-toggle="tooltip" title="<?php eT('Activate'); ?>" href='#activate' data-action='activate' data-id='<?php echo $plugin['id']; ?>' class='ls_action_changestate btn btn-default btn-xs btntooltip'>
<span class='fa fa-power-off'></span>
</a>
Expand Down

0 comments on commit e573915

Please sign in to comment.