Show More
@@ -48,7 +48,7 b'' | |||
|
48 | 48 | <div class="panel-body"> |
|
49 | 49 | |
|
50 | 50 | |
|
51 |
<div class="label">${_("Ordered |
|
|
51 | <div class="label">${_("Ordered Activated Plugins")}</div> | |
|
52 | 52 | <div class="textarea text-area editor"> |
|
53 | 53 | ${h.textarea('auth_plugins',cols=120,rows=20,class_="medium")} |
|
54 | 54 | </div> |
@@ -64,11 +64,12 b'' | |||
|
64 | 64 | <th>${_('Plugin Name')}</th> |
|
65 | 65 | <th>${_('Documentation')}</th> |
|
66 | 66 | <th>${_('Plugin ID')}</th> |
|
67 | <th>${_('Enabled')}</th> | |
|
67 | 68 | %for plugin in available_plugins: |
|
68 | 69 | <tr> |
|
69 | 70 | <td> |
|
70 | 71 | <span plugin_id="${plugin.get_id()}" class="toggle-plugin btn ${'btn-success' if plugin.get_id() in enabled_plugins else ''}"> |
|
71 |
${_(' |
|
|
72 | ${_('activated') if plugin.get_id() in enabled_plugins else _('not active')} | |
|
72 | 73 | </span> |
|
73 | 74 | </td> |
|
74 | 75 | <td>${plugin.get_display_name()}</td> |
@@ -78,6 +79,7 b'' | |||
|
78 | 79 | % endif |
|
79 | 80 | </td> |
|
80 | 81 | <td>${plugin.get_id()}</td> |
|
82 | <td>${plugin.is_active()}</td> | |
|
81 | 83 | </tr> |
|
82 | 84 | %endfor |
|
83 | 85 | </table> |
@@ -109,7 +111,7 b'' | |||
|
109 | 111 | elems.splice(elems.indexOf(plugin_id), 1); |
|
110 | 112 | auth_plugins_input.val(elems.join(',\n')); |
|
111 | 113 | $(cur_button).removeClass('btn-success'); |
|
112 |
cur_button.innerHTML = _gettext(' |
|
|
114 | cur_button.innerHTML = _gettext('not active'); | |
|
113 | 115 | } |
|
114 | 116 | else{ |
|
115 | 117 | if(elems.indexOf(plugin_id) == -1){ |
@@ -117,7 +119,7 b'' | |||
|
117 | 119 | } |
|
118 | 120 | auth_plugins_input.val(elems.join(',\n')); |
|
119 | 121 | $(cur_button).addClass('btn-success'); |
|
120 |
cur_button.innerHTML = _gettext(' |
|
|
122 | cur_button.innerHTML = _gettext('activated'); | |
|
121 | 123 | } |
|
122 | 124 | }); |
|
123 | 125 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now