brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drigod...@apache.org
Subject [1/2] brooklyn-ui git commit: include containing bundle information (so CLI users can delete)
Date Thu, 14 Sep 2017 15:24:38 GMT
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 <alex.heneveld@cloudsoftcorp.com>
Authored: Thu Sep 7 16:53:17 2017 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
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>
     <% } %>


Mime
View raw message