diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-26 15:57:39 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-26 15:57:39 -0400 |
commit | 9ca4b43a97ae92fad57b00ac0217d5b7078272fb (patch) | |
tree | cd16f66b175dad4be54f24533b1671015dd34699 /app/Template/config/plugins.php | |
parent | 47c1bc965254dc539cd8996730fcc00546a32143 (diff) |
Add page to show the list of plugins
Diffstat (limited to 'app/Template/config/plugins.php')
-rw-r--r-- | app/Template/config/plugins.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/Template/config/plugins.php b/app/Template/config/plugins.php new file mode 100644 index 00000000..8501bda9 --- /dev/null +++ b/app/Template/config/plugins.php @@ -0,0 +1,24 @@ +<div class="page-header"> + <h2><?= t('Plugins') ?></h2> +</div> + +<?php if (empty($plugins)): ?> + <p class="alert"><?= t('There is no plugin loaded.') ?></p> +<?php else: ?> + <table class="table-stripped"> + <tr> + <th class="column-20"><?= t('Name') ?></th> + <th class="column-20"><?= t('Author') ?></th> + <th class="column-10"><?= t('Version') ?></th> + <th><?= t('Description') ?></th> + </tr> + + <?php foreach($plugins as $plugin): ?> + <tr> + <td><?= $this->e($plugin->getPluginName()) ?></td> + <td><?= $this->e($plugin->getPluginAuthor()) ?></td> + <td><?= $this->e($plugin->getPluginVersion()) ?></td> + <td><?= $this->e($plugin->getPluginDescription()) ?></td> + </tr> + <?php endforeach ?> +<?php endif ?>
\ No newline at end of file |