You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2021/05/21 17:56:23 UTC

[brooklyn-ui] branch master updated: show commits and dates in about view on hover

This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 5fd8fc8  show commits and dates in about view on hover
5fd8fc8 is described below

commit 5fd8fc86f857af76636c3b11128c61be59830f5a
Author: Alex Heneveld <al...@cloudsoftcorp.com>
AuthorDate: Fri May 21 18:56:06 2021 +0100

    show commits and dates in about view on hover
---
 ui-modules/home/app/views/about/about.template.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ui-modules/home/app/views/about/about.template.html b/ui-modules/home/app/views/about/about.template.html
index be97f85..439ed27 100644
--- a/ui-modules/home/app/views/about/about.template.html
+++ b/ui-modules/home/app/views/about/about.template.html
@@ -48,7 +48,8 @@
                     </small>
                 </li>
                 <li class="list-group-item">
-                    <span class="badge">{{vm.serverVersion.version}}</span>
+                    <span class="badge" ng-attr-title="{{ vm.serverVersion.buildSha1 && 'Commit '+vm.serverVersion.buildSha1 }}">
+                        {{vm.serverVersion.version}}</span>
                     <h4 class="list-group-item-heading">Brooklyn Server</h4>
                 </li>
             </ul>
@@ -83,7 +84,7 @@
             <p>This distribution includes the following features:</p>
             <ul class="list-group">
                 <li ng-repeat="feature in vm.serverVersion.features track by $index" class="list-group-item">
-                    <span class="badge">{{feature.version}}</span>
+                    <span class="badge" ng-attr-title="{{ feature.lastModified && (feature.lastModified | date: 'MMM dd, yyyy @ H:mm:ss.sss')}}">{{feature.version}}</span>
                     <h4 class="list-group-item-heading">{{feature.name}}</h4>
                     <small class="list-group-item-text">{{feature.symbolicName}}</small>
                 </li>