diff --git a/guacamole/src/main/webapp/app/navigation/templates/guacPageList.html b/guacamole/src/main/webapp/app/navigation/templates/guacPageList.html index d303c8efc..35d12c31e 100644 --- a/guacamole/src/main/webapp/app/navigation/templates/guacPageList.html +++ b/guacamole/src/main/webapp/app/navigation/templates/guacPageList.html @@ -22,7 +22,7 @@ --> -
  • +
  • {{page.name | translate}} diff --git a/guacamole/src/main/webapp/app/navigation/types/PageDefinition.js b/guacamole/src/main/webapp/app/navigation/types/PageDefinition.js index 6b58849fd..0b5d00b1e 100644 --- a/guacamole/src/main/webapp/app/navigation/types/PageDefinition.js +++ b/guacamole/src/main/webapp/app/navigation/types/PageDefinition.js @@ -35,8 +35,11 @@ angular.module('navigation').factory('PageDefinition', [function definePageDefin * * @param {String} url * The URL of the page. + * + * @param {String} [className=''] + * The CSS class name to associate with this page, if any. */ - var PageDefinition = function PageDefinition(name, url) { + var PageDefinition = function PageDefinition(name, url, className) { /** * The the name of the page, which should be a translation table key. @@ -52,6 +55,13 @@ angular.module('navigation').factory('PageDefinition', [function definePageDefin */ this.url = url; + /** + * The CSS class name to associate with this page, if any. + * + * @type String + */ + this.className = className || ''; + }; return PageDefinition;