mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
/admin/plugins/info: Move logic to .js
file
This commit is contained in:
parent
c5f0274116
commit
cd1d322af4
2 changed files with 15 additions and 13 deletions
|
@ -1,6 +1,3 @@
|
|||
<%
|
||||
var plugins = require("ep_etherpad-lite/static/js/pluginfw/plugins");
|
||||
%>
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -31,17 +28,17 @@
|
|||
<p>Git sha: <a href='https://github.com/ether/etherpad-lite/commit/<%= gitCommit %>'><%= gitCommit %></a></p>
|
||||
|
||||
<h2 data-l10n-id="admin_plugins_info.plugins">Installed plugins</h2>
|
||||
<pre><%- plugins.formatPlugins().replace(/, /g,"\n") %></pre>
|
||||
<%- installedPlugins %>
|
||||
|
||||
<h2 data-l10n-id="admin_plugins_info.parts">Installed parts</h2>
|
||||
<pre><%= plugins.formatParts() %></pre>
|
||||
<%- installedParts %>
|
||||
|
||||
<h2 data-l10n-id="admin_plugins_info.hooks">Installed hooks</h2>
|
||||
<h3 data-l10n-id="admin_plugins_info.hooks_server">Server-side hooks</h3>
|
||||
<div><%- plugins.formatHooks() %></div>
|
||||
<%- installedServerHooks %>
|
||||
|
||||
<h3 data-l10n-id="admin_plugins_info.hooks_client">Client-side hooks</h3>
|
||||
<div><%- plugins.formatHooks("client_hooks") %></div>
|
||||
<%- installedClientHooks %>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue