diff options
author | Simon Rettberg | 2020-11-18 10:02:37 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-11-18 10:02:37 +0100 |
commit | e9b114120322f79ca9029a5120b85934b74eb3a0 (patch) | |
tree | d95b11f3d9b1f7e399e51220e60e6c516001154b /modules-available/sysconfig/templates | |
parent | [statistics] Add shift + click selection to the checkboxes (diff) | |
download | slx-admin-e9b114120322f79ca9029a5120b85934b74eb3a0.tar.gz slx-admin-e9b114120322f79ca9029a5120b85934b74eb3a0.tar.xz slx-admin-e9b114120322f79ca9029a5120b85934b74eb3a0.zip |
[sysconfig] Show '?' for unused modules
Quick and dirty client-side hack; needs refactoring anyways once we have
per-location module assignment.
Diffstat (limited to 'modules-available/sysconfig/templates')
-rw-r--r-- | modules-available/sysconfig/templates/list-legend.html | 4 | ||||
-rw-r--r-- | modules-available/sysconfig/templates/list-modules.html | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/modules-available/sysconfig/templates/list-legend.html b/modules-available/sysconfig/templates/list-legend.html index 809a0449..49974a5f 100644 --- a/modules-available/sysconfig/templates/list-legend.html +++ b/modules-available/sysconfig/templates/list-legend.html @@ -25,6 +25,10 @@ <span class="btn btn-danger btn-xs" title="{{lang_delete}}"><span class="glyphicon glyphicon-trash"></span></span> {{lang_deleteLong}} </p> + <p> + <span class="glyphicon glyphicon-question-sign" title="{{lang_moduleUnused}}"></span> + {{lang_moduleUnusedLong}} + </p> {{#showLocationBadge}} <p> <span class="badge">+4</span> diff --git a/modules-available/sysconfig/templates/list-modules.html b/modules-available/sysconfig/templates/list-modules.html index 9284bb24..5bd19446 100644 --- a/modules-available/sysconfig/templates/list-modules.html +++ b/modules-available/sysconfig/templates/list-modules.html @@ -13,7 +13,10 @@ <tr data-id="{{id}}" class="modrow"> <td class="badge text-nowrap">{{moduleType}}</td> <td class="title slx-pointer" width="100%" title="{{lang_lastEdited}} {{dateline_s}}"> - <table class="slx-ellipsis"><tr><td>{{title}}</td></tr></table> + <table class="slx-ellipsis"><tr><td> + <span class="glyphicon glyphicon-question-sign pull-right icon-unused hidden" title="{{lang_moduleUnused}}"></span> + {{title}} + </td></tr></table> </td> <td class="text-nowrap"> {{#allowDownload}} |