@@ -22,11 +22,11 @@ import ".." as LocalComponents
22LocalComponents.Page {
22LocalComponents.Page {
23 objectName: "ubuntuAccountSignUpPage"
23 objectName: "ubuntuAccountSignUpPage"
25− title: i18n.tr("Create Account")
25+ title: webview.visible ? i18n.tr("Terms And Conditions") : i18n.tr("Create Account")
26 customTitle: true
26 customTitle: true
27 customBack: true
27 customBack: true
28− backButtonText: i18n.tr("Cancel")
28+ backButtonText: webview.visible ? i18n.tr("Back") : i18n.tr("Cancel")
29− forwardButtonSourceComponent: forwardButton
29+ forwardButtonSourceComponent: !webview.visible ? forwardButton : null
31 onBackClicked: {
31 onBackClicked: {
32 if (webview.visible) {
32 if (webview.visible) {
@@ -39,6 +39,8 @@ LocalComponents.Page {
40 id: column
40 id: column
41 anchors.fill: content
41 anchors.fill: content
42+ anchors.leftMargin: leftMargin
43+ anchors.rightMargin: rightMargin
@@ -189,8 +191,6 @@ LocalComponents.Page {
189 id: webview
191 id: webview
190 objectName: "webview"
192 objectName: "webview"
191 anchors.fill: content
193 anchors.fill: content
192− anchors.leftMargin: -leftMargin
193− anchors.rightMargin: -rightMargin
194 visible: false
194 visible: false