keycloak-aplcache

Details

diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
index c8c37ba..5a1c85d 100755
--- a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
+++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
@@ -6,6 +6,9 @@ module.controller('GlobalCtrl', function($scope, $http, Auth, WhoAmI, Current, $
     $scope.authUrl = authUrl;
     $scope.auth = Auth;
     $scope.serverInfo = ServerInfo.get();
+    $scope.serverInfoUpdate = function() {
+        $scope.serverInfo = ServerInfo.get();
+    };
 
     WhoAmI.get(function (data) {
         Auth.user = data;
diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/server-info.html b/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/server-info.html
index 47fabd5..bb110e6 100755
--- a/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/server-info.html
+++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/server-info.html
@@ -12,7 +12,7 @@
             </tr>
             <tr>
                 <td>Server Time</td>
-                <td>{{serverInfo.serverTime}}</td>
+                <td>{{serverInfo.serverTime}} (<a data-ng-click="serverInfoUpdate()">update</a>)</td>
             </tr>
             <tr>
                 <td>Providers</td>