mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-919: Fix filtering of project properties in web pages.
This commit is contained in:
@@ -63,29 +63,35 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<!-- Filter translation strings -->
|
||||||
|
<webResources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/webapp</directory>
|
||||||
|
<filtering>true</filtering>
|
||||||
|
<includes>
|
||||||
|
<include>translations/*.json</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</webResources>
|
||||||
|
|
||||||
|
<!-- Add files from guacamole-common-js -->
|
||||||
|
<overlays>
|
||||||
|
<overlay>
|
||||||
|
<groupId>org.glyptodon.guacamole</groupId>
|
||||||
|
<artifactId>guacamole-common-js</artifactId>
|
||||||
|
<type>zip</type>
|
||||||
|
</overlay>
|
||||||
|
</overlays>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>default-cli</id>
|
<id>default-cli</id>
|
||||||
<phase>process-resources</phase>
|
<phase>process-resources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<webappDirectory>${project.build.directory}/minify</webappDirectory>
|
||||||
<!-- Filter webapp dir -->
|
|
||||||
<webResources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/webapp</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</webResources>
|
|
||||||
|
|
||||||
<!-- Add files from guacamole-common-js -->
|
|
||||||
<overlays>
|
|
||||||
<overlay>
|
|
||||||
<groupId>org.glyptodon.guacamole</groupId>
|
|
||||||
<artifactId>guacamole-common-js</artifactId>
|
|
||||||
<type>zip</type>
|
|
||||||
</overlay>
|
|
||||||
</overlays>
|
|
||||||
|
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>exploded</goal>
|
<goal>exploded</goal>
|
||||||
@@ -105,7 +111,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<charset>UTF-8</charset>
|
<charset>UTF-8</charset>
|
||||||
|
|
||||||
<webappSourceDir>${project.build.directory}/${project.build.finalName}</webappSourceDir>
|
<webappSourceDir>${project.build.directory}/minify</webappSourceDir>
|
||||||
|
|
||||||
<cssSourceDir>/</cssSourceDir>
|
<cssSourceDir>/</cssSourceDir>
|
||||||
<cssTargetDir>/</cssTargetDir>
|
<cssTargetDir>/</cssTargetDir>
|
||||||
|
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<!-- Menu -->
|
<!-- Menu -->
|
||||||
<div ng-class="{open: menuShown}" id="menu">
|
<div ng-class="{open: menuShown}" id="menu">
|
||||||
<h2 id="menu-title">Guacamole ${project.version}</h2>
|
<h2 id="menu-title">{{'application.title' | translate}}</h2>
|
||||||
|
|
||||||
<h3>{{'client.clipboard' | translate}}</h3>
|
<h3>{{'client.clipboard' | translate}}</h3>
|
||||||
<div class="content" id="clipboard-settings">
|
<div class="content" id="clipboard-settings">
|
||||||
|
@@ -31,17 +31,17 @@ angular.module('index').config(['$routeProvider', '$locationProvider',
|
|||||||
|
|
||||||
$routeProvider.
|
$routeProvider.
|
||||||
when('/', {
|
when('/', {
|
||||||
title: 'index.title',
|
title: 'application.title',
|
||||||
templateUrl: 'app/home/templates/home.html',
|
templateUrl: 'app/home/templates/home.html',
|
||||||
controller: 'homeController'
|
controller: 'homeController'
|
||||||
}).
|
}).
|
||||||
when('/manage/', {
|
when('/manage/', {
|
||||||
title: 'index.title',
|
title: 'application.title',
|
||||||
templateUrl: 'app/manage/templates/manage.html',
|
templateUrl: 'app/manage/templates/manage.html',
|
||||||
controller: 'manageController'
|
controller: 'manageController'
|
||||||
}).
|
}).
|
||||||
when('/login/', {
|
when('/login/', {
|
||||||
title: 'index.title',
|
title: 'application.title',
|
||||||
templateUrl: 'app/login/templates/login.html',
|
templateUrl: 'app/login/templates/login.html',
|
||||||
controller: 'loginController'
|
controller: 'loginController'
|
||||||
}).
|
}).
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"index": {
|
"application": {
|
||||||
"title" : "Guacamole 0.9.1"
|
"title" : "Guacamole ${project.version}"
|
||||||
},
|
},
|
||||||
|
|
||||||
"login": {
|
"login": {
|
||||||
|
Reference in New Issue
Block a user