Repository: brooklyn-ui Updated Branches: refs/heads/master 2ae6a1ef3 -> 949dd53ce
include containing bundle information (so CLI users can delete) Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/0ddcd00d Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/0ddcd00d Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/0ddcd00d Branch: refs/heads/master Commit: 0ddcd00ddcd1cf53c951feb60a3123831a15158a Parents: 2ae6a1e Author: Alex Heneveld <[email protected]> Authored: Thu Sep 7 16:53:17 2017 +0100 Committer: Alex Heneveld <[email protected]> Committed: Thu Sep 7 22:46:14 2017 +0100 ---------------------------------------------------------------------- src/main/webapp/assets/tpl/catalog/details-entity.html | 4 ++++ src/main/webapp/assets/tpl/catalog/details-generic.html | 3 +++ src/main/webapp/assets/tpl/catalog/details-location.html | 3 +++ 3 files changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/0ddcd00d/src/main/webapp/assets/tpl/catalog/details-entity.html ---------------------------------------------------------------------- diff --git a/src/main/webapp/assets/tpl/catalog/details-entity.html b/src/main/webapp/assets/tpl/catalog/details-entity.html index 02371c7..552291f 100644 --- a/src/main/webapp/assets/tpl/catalog/details-entity.html +++ b/src/main/webapp/assets/tpl/catalog/details-entity.html @@ -31,6 +31,10 @@ under the License. <% } else { %> <h2><%- model.getVersionedAttr("symbolicName") %></h2> <% } %> + <% if (model.get("containingBundle")) { %> + <p> Bundle: <%- model.get("containingBundle") %> </p> + <% } %> + <% if (model.get("description")) { %> <p><%- model.get("description") %></p> <% } %> http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/0ddcd00d/src/main/webapp/assets/tpl/catalog/details-generic.html ---------------------------------------------------------------------- diff --git a/src/main/webapp/assets/tpl/catalog/details-generic.html b/src/main/webapp/assets/tpl/catalog/details-generic.html index 4995632..0e4e041 100644 --- a/src/main/webapp/assets/tpl/catalog/details-generic.html +++ b/src/main/webapp/assets/tpl/catalog/details-generic.html @@ -28,6 +28,9 @@ under the License. <% } else if (model.get("type") !== undefined) { %> <h2><%- model.get("type") %></h2> <% } %> + <% if (model.get("containingBundle")) { %> + <p> Bundle: <%- model.get("containingBundle") %> </p> + <% } %> <dl> <% _.each(model.attributes, function(value, key) { %> http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/0ddcd00d/src/main/webapp/assets/tpl/catalog/details-location.html ---------------------------------------------------------------------- diff --git a/src/main/webapp/assets/tpl/catalog/details-location.html b/src/main/webapp/assets/tpl/catalog/details-location.html index 850c76c..a2c865a 100644 --- a/src/main/webapp/assets/tpl/catalog/details-location.html +++ b/src/main/webapp/assets/tpl/catalog/details-location.html @@ -38,6 +38,9 @@ under the License. <% } else { %> <h2><%- model.get("name") %></h2> <% } %> + <% if (model.get("containingBundle")) { %> + <p> Bundle: <%- model.get("containingBundle") %> </p> + <% } %> <% if (model.get("description")) { %> <p><%- model.get("description") %></p> <% } %>
