From ab5c4749c1444f7d3eb99be9140e88b4ef127ec9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 31 Aug 2018 18:32:00 +0200 Subject: [PATCH 1/2] In setup wizard put link to nextcloud installation Fix #604 Remove the not actionable button but a direct link to the nextcloud installation page. In this case the button is changed for a label with an html link to the website. --- src/gui/wizard/owncloudsetupnocredspage.ui | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/src/gui/wizard/owncloudsetupnocredspage.ui b/src/gui/wizard/owncloudsetupnocredspage.ui index 003a702ea..facd616f6 100644 --- a/src/gui/wizard/owncloudsetupnocredspage.ui +++ b/src/gui/wizard/owncloudsetupnocredspage.ui @@ -61,22 +61,11 @@ - - - - 0 - 0 - - - - - true - - + - Host your own server + <a href="https://docs.nextcloud.com/server/13/admin_manual/installation/index.html#installation"><span style=" text-decoration: underline; color:#0000ff;">Host your own server</span></a> - + true From 72419a11498945fc884c53d0bd5dafa5f9e3a7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 31 Aug 2018 18:35:52 +0200 Subject: [PATCH 2/2] Remove hostButton from setup page --- src/gui/wizard/owncloudsetuppage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/wizard/owncloudsetuppage.cpp b/src/gui/wizard/owncloudsetuppage.cpp index c0b03f6ae..eb5291a77 100644 --- a/src/gui/wizard/owncloudsetuppage.cpp +++ b/src/gui/wizard/owncloudsetuppage.cpp @@ -97,7 +97,7 @@ OwncloudSetupPage::OwncloudSetupPage(QWidget *parent) _ui.slideImage->hide(); _ui.slideLabel->hide(); _ui.loginButton->hide(); - _ui.hostButton->hide(); + _ui.installLink->hide(); #endif setStyleSheet(QString("background-color:%1; color:%2 QLabel { color:%2; } QSpacerItem { color: red; }").arg(theme->wizardHeaderBackgroundColor().name(), theme->wizardHeaderTitleColor().name())); }