Rename widget 'plugins' to 'pluginListing'

For better clarity on its function, rename the 'plugins' widget to 'pluginListing,'
as it does not handle the actual plugin logic.
This commit is contained in:
Brian Federle 2013-04-18 10:38:03 -07:00
parent 11162f5917
commit d7b715b83f
3 changed files with 3 additions and 5 deletions

View File

@ -1681,7 +1681,7 @@ under the License.
<script type="text/javascript" src="scripts/vm_snapshots.js?t=<%=now%>"></script> <script type="text/javascript" src="scripts/vm_snapshots.js?t=<%=now%>"></script>
<!-- Plugins --> <!-- Plugins -->
<script type="text/javascript" src="scripts/ui-custom/plugins.js?t=<%=now%>"></script> <script type="text/javascript" src="scripts/ui-custom/pluginListing.js?t=<%=now%>"></script>
<script type="text/javascript" src="plugins/plugins.js?t=<%=now%>"></script> <script type="text/javascript" src="plugins/plugins.js?t=<%=now%>"></script>
<script type="text/javascript" src="scripts/plugins.js?t=<%=now%>"></script> <script type="text/javascript" src="scripts/plugins.js?t=<%=now%>"></script>
</body> </body>

View File

@ -51,7 +51,7 @@
cloudStack.sections.plugins = { cloudStack.sections.plugins = {
title: 'label.plugins', title: 'label.plugins',
show: cloudStack.uiCustom.plugins show: cloudStack.uiCustom.pluginListing
}; };
// Load plugins // Load plugins
@ -70,7 +70,5 @@
ui: pluginAPI ui: pluginAPI
}); });
}); });
// Load CSS
}); });
}(jQuery, cloudStack, require)); }(jQuery, cloudStack, require));

View File

@ -95,7 +95,7 @@
} }
}; };
cloudStack.uiCustom.plugins = function() { cloudStack.uiCustom.pluginListing = function() {
var plugins = cloudStack.plugins; var plugins = cloudStack.plugins;
return elems.pluginListing({ return elems.pluginListing({