mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 10:26:15 -04:00
Display plugin versions
This commit is contained in:
parent
ce71002644
commit
1fc5519c86
2 changed files with 8 additions and 0 deletions
|
@ -113,10 +113,14 @@ $(document).ready(function () {
|
|||
for (plugin_name in data.results) {
|
||||
var plugin = data.results[plugin_name];
|
||||
var row = widget.find(".template tr").clone();
|
||||
var version = '0.0.0';
|
||||
for (version in data.results[plugin_name].versions) break;
|
||||
|
||||
for (attr in plugin) {
|
||||
row.find("." + attr).html(plugin[attr]);
|
||||
}
|
||||
row.find(".version").html(version);
|
||||
|
||||
widget.find(".results").append(row);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue