@@ -0,0 +1,81 @@
2+ * Copyright (C) 2014-2015 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.2
20+import ".." as LocalComponents
22+LocalComponents.Page {
24+ objectName: "reportCheckPage"
26+ title: webview.visible ? i18n.tr("Privacy Policy") : i18n.tr("Help Us Improve")
27+ forwardButtonSourceComponent: forwardButton
29+ customTitle: webview.visible
32+ if (webview.visible) {
33+ webview.visible = false;
43+ leftMargin: leftMargin
44+ rightMargin: rightMargin
45+ topMargin: customMargin
48+ LocalComponents.CheckableSetting {
55+ objectName: "reportCheck"
57+ text: i18n.tr("Improve system performance by sending us crashes and error reports.") + "<br><br><a href='#'>" +
58+ i18n.tr("Privacy policy") + "</a>"
61+ webview.url = "http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
62+ webview.visible = true;
69+ objectName: "webview"
70+ anchors.fill: content
76+ LocalComponents.StackButton {
77+ text: i18n.tr("Next")
78+ onClicked: pageStack.next();