2 * Copyright (C) 2014-2016 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 import Ubuntu.Components 1.3
20 import ".." as LocalComponents
22 LocalComponents.Page {
23 objectName: "hereTermsPage"
25 title: i18n.tr("Terms & Conditions")
30 if (webview.visible) {
37 function showBrowser(show) {
39 label1.visible = false;
40 label2.visible = false;
41 label3.visible = false;
42 label4.visible = false;
43 webview.visible = true;
45 webview.visible = false;
46 label1.visible = true;
47 label2.visible = true;
48 label3.visible = true;
49 label4.visible = true;
56 anchors.leftMargin: staticMargin
57 anchors.rightMargin: wideMode ? parent.rightMargin : staticMargin
62 anchors.left: parent.left
63 anchors.right: parent.right
67 font.weight: Font.Light
69 text: i18n.tr("Your device uses positioning technologies provided by HERE.")
74 anchors.left: parent.left
75 anchors.right: parent.right
79 font.weight: Font.Light
81 text: i18n.tr("To provide you with positioning services and to improve their quality, HERE collects information about nearby cell towers and Wi-Fi hotspots around your current location whenever your position is being found.")
86 anchors.left: parent.left
87 anchors.right: parent.right
91 font.weight: Font.Light
93 text: i18n.tr("The information collected is used to analyze the service and to improve the use of service, but not to identify you personally.")
98 anchors.left: parent.left
99 anchors.right: parent.right
103 font.weight: Font.Light
105 linkColor: UbuntuColors.orange
106 text: i18n.tr("By continuing, you agree to the HERE platform %1 and %2.")
107 .arg("<a href=\"http://here.com/terms/service-terms\">" + i18n.tr("Service Terms") + "</a>")
108 .arg("<a href=\"http://here.com/privacy/privacy-policy\">" + i18n.tr("Privacy Policy") + "</a>");
117 objectName: "webview"
118 anchors.left: parent.left
119 anchors.right: parent.right
120 anchors.leftMargin: -leftMargin
121 anchors.rightMargin: -rightMargin
122 height: parent.height