diff --git a/guacamole/src/main/frontend/src/app/home/controllers/homeController.js b/guacamole/src/main/frontend/src/app/home/controllers/homeController.js index 92c149e6b..8d84b49e1 100644 --- a/guacamole/src/main/frontend/src/app/home/controllers/homeController.js +++ b/guacamole/src/main/frontend/src/app/home/controllers/homeController.js @@ -62,12 +62,14 @@ angular.module('home').controller('homeController', ['$scope', '$injector', ]; /** - * Returns true if recent connections should be displayed on the Guacamole - * home page, otherwise false. + * Returns whether the "Recent Connections" section should be displayed on + * the home screen. * * @returns {!boolean} + * true if recent connections should be displayed on the home screen, + * false otherwise. */ - $scope.willShowRecentConnections = function willShowRecentConnections() { + $scope.isRecentConnectionsVisible = function isRecentConnectionsVisible() { return preferenceService.preferences.showRecentConnections; }; diff --git a/guacamole/src/main/frontend/src/app/home/directives/guacRecentConnections.js b/guacamole/src/main/frontend/src/app/home/directives/guacRecentConnections.js index 57f141f3f..4be606524 100644 --- a/guacamole/src/main/frontend/src/app/home/directives/guacRecentConnections.js +++ b/guacamole/src/main/frontend/src/app/home/directives/guacRecentConnections.js @@ -74,16 +74,6 @@ angular.module('home').directive('guacRecentConnections', [function guacRecentCo && guacHistory.removeEntry(recentConnection.entry.id)); }; - /** - * Returns whether or not recent connections should be displayed. - * - * @returns {!boolean} - * true if recent connections should be displayed, otherwise false. - */ - $scope.willShowRecentConnections = function willShowRecentConnections() { - return preferenceService.preferences.showRecentConnections; - }; - /** * Returns whether recent connections are available for display. * diff --git a/guacamole/src/main/frontend/src/app/home/styles/home.css b/guacamole/src/main/frontend/src/app/home/styles/home.css index 5a0d9d216..8ae0486ed 100644 --- a/guacamole/src/main/frontend/src/app/home/styles/home.css +++ b/guacamole/src/main/frontend/src/app/home/styles/home.css @@ -77,11 +77,6 @@ a.home-connection, .empty.balancer a.home-connection-group { display: none; } -.header-app-name { - font-size: 0.85em; - box-shadow: none; -} - .recent-connections .connection .remove-recent { visibility: hidden; } diff --git a/guacamole/src/main/frontend/src/app/home/templates/guacRecentConnections.html b/guacamole/src/main/frontend/src/app/home/templates/guacRecentConnections.html index d24397445..2d25bc1db 100644 --- a/guacamole/src/main/frontend/src/app/home/templates/guacRecentConnections.html +++ b/guacamole/src/main/frontend/src/app/home/templates/guacRecentConnections.html @@ -1,4 +1,4 @@ -
{{'HOME.INFO_NO_RECENT_CONNECTIONS' | translate}}
diff --git a/guacamole/src/main/frontend/src/app/home/templates/home.html b/guacamole/src/main/frontend/src/app/home/templates/home.html index 6ba553025..872ac9803 100644 --- a/guacamole/src/main/frontend/src/app/home/templates/home.html +++ b/guacamole/src/main/frontend/src/app/home/templates/home.html @@ -2,16 +2,14 @@