Skip to content
Snippets Groups Projects
Commit 5b88e7c5 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Change link to user forum, to forum.monnaie-libre.fr - fix #678

[fix] Fix some old URL, in the about popup
parent bf492832
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ angular.module("cesium.config", [])
},
"version": "...",
"build": "...",
"newIssueUrl": "https://github.com/duniter/cesium/issues/new?labels=bug"
"newIssueUrl": "https://git.duniter.org/clients/cesium/cesium/issues/new",
"userForumUrl": "https://forum.duniter.org"
});
```
......@@ -59,11 +60,11 @@ Because of default options values (see details below), the minimal configuration
angular.module("cesium.config", [])
.constant("csConfig", {
"node": {
"host": "gtest.duniter.fr",
"host": "g1-test.duniter.org",
"port": "10900"
},
"version": "0.9.18",
"build": "2017-01-31T14:19:31.296Z"
"version": "...",
"build": "..."
});
```
......@@ -72,7 +73,7 @@ Because of default options values (see details below), the minimal configuration
angular.module("cesium.config", [])
.constant("csConfig", {
"node": {
"host": "g1-test.duniter.fr",
"host": "g1-test.duniter.org",
"port": 10900
},
"plugins": {
......@@ -81,8 +82,8 @@ Because of default options values (see details below), the minimal configuration
"port": 443
}
},
"version": "0.9.18",
"build": "2017-01-31T14:19:31.296Z"
"version": "...",
"build": "..."
});
```
......@@ -110,8 +111,9 @@ fallbackLanguage | Default locale, if browser default language not ex
defaultLanguage | Used to force the default language (ignore browser's language), on user first connection. | =`fallbackLanguage`
decimalCount | Number of decimal to display, on float value (when using relative unit) | `4`
shareBaseUrl | Used in share buttons, to reference another web site. | not defined (will use navigator's window location)
helptip.installDocUrl | Used in features tour, for the link 'How-to install my own node'. | URL of [Duniter installation node](https://github.com/duniter/duniter/blob/master/doc/install-a-node.md)
newIssueUrl | Used for link in the About screen, to submit new issue | URL of [Cesium issues on GitHub](https://github.com/duniter/cesium/issues/new?labels=bug)
helptip.installDocUrl | Used in features tour, for the link 'How-to install my own node'. | URL of [Duniter installation node](https://duniter.org/en/wiki/duniter/install/)
newIssueUrl | Used for link in the About screen, to submit new issue | URL of [Cesium issues](https://git.duniter.org/clients/cesium/cesium/issues/new)
userForumUrl | Link to the user forum, show in the About screen | URL of [forum.monnaie-libre.fr](forum.monnaie-libre.fr)
timeout | Default network request timeout, in millisecond. | `4000`
timeWarningExpire | Delay (in second) before expiration of certifications, use to warn the user that there will soon be a lack of certifications | `5184000` (2 mois)
timeWarningExpireMembership | Delay (in second) before membership expiration, use to warns user that he should renew his membership. | `7776000` (3 mois)
......
......@@ -4,7 +4,7 @@
"description": "Unhosted webapp client for Duniter network",
"repository": {
"type": "git",
"url": "git@github.com:duniter/cesium.git"
"url": "git@git.duniter.org:clients/cesium/cesium.git"
},
"scripts": {
"postinstall": "bower install",
......
......@@ -68,6 +68,7 @@ angular.module('cesium.settings.services', ['ngApi', 'cesium.config'])
uiEffects: true,
minVersion: '1.1.0',
newIssueUrl: "https://git.duniter.org/clients/cesium/cesium/issues/new",
userForumUrl: "https://forum.monnaie-libre.fr",
latestReleaseUrl: "https://api.github.com/repos/duniter/cesium/releases/latest",
duniterLatestReleaseUrl: "https://api.github.com/repos/duniter/duniter/releases/latest",
helptip: {
......@@ -196,6 +197,8 @@ angular.module('cesium.settings.services', ['ngApi', 'cesium.config'])
data.minVersion = defaultSettings.minVersion;
data.latestReleaseUrl = defaultSettings.latestReleaseUrl;
data.duniterLatestReleaseUrl = defaultSettings.duniterLatestReleaseUrl;
data.newIssueUrl = defaultSettings.newIssueUrl;
data.userForumUrl = defaultSettings.userForumUrl;
// Apply the new locale (only if need)
if (localeChanged) {
......
......@@ -24,7 +24,7 @@
<!-- link to release page -->
<h3 ng-if="!$root.device.enable">
<a ng-click="openLink($event, $root.newRelease.url)" translate>{{$root.newRelease.url}}</a>
<a ng-click="openLink($event, $root.newRelease.url)" translate>{{::$root.newRelease.url}}</a>
</h3>
</ion-item>
......@@ -33,7 +33,7 @@
<i class="item-image icon ion-bug"></i>
<span translate>ABOUT.PLEASE_REPORT_ISSUE</span>
<h3>
<a ng-click="openLink($event, $root.config.newIssueUrl)" translate>ABOUT.REPORT_ISSUE</a>
<a ng-click="openLink($event, $root.settings.newIssueUrl)" translate>ABOUT.REPORT_ISSUE</a>
</h3>
</ion-item>
......@@ -49,7 +49,7 @@
<ion-item class="item-icon-left">
<i class="item-image icon ion-chatbubbles"></i>
{{'ABOUT.FORUM' | translate}}
<h3><a ng-click="openLink($event, 'https://forum.duniter.org')">https://forum.duniter.org</a></h3>
<h3><a ng-click="openLink($event, $root.settings.userForumUrl)">{{::$root.settings.userForumUrl}}</a></h3>
</ion-item>
<!-- team -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment