Merge pull request #614 from Titan-C/host_link

In setup wizard put link to nextcloud installation.
This commit is contained in:
Camila Ayres 2018-09-02 13:18:00 +02:00 committed by GitHub
commit b19abe9c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 15 deletions

View file

@ -61,22 +61,11 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="hostButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<underline>true</underline>
</font>
</property>
<widget class="QLabel" name="installLink">
<property name="text">
<string>Host your own server</string>
<string>&lt;a href=&quot;https://docs.nextcloud.com/server/13/admin_manual/installation/index.html#installation&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Host your own server&lt;/span&gt;&lt;/a&gt;</string>
</property>
<property name="flat">
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>

View file

@ -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()));
}