blob: 6148ecef314cd7b14a1a33c32816605828d95eba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
import QtQuick 2.9
import QtQuick.Controls 2.2
ThemedPage {
title: qsTr("Help")
property var issueTracker: "https://0xacab.org/leap/bitmask-vpn/issues"
Column {
anchors.centerIn: parent
spacing: 10
Text {
font.pixelSize: 14
anchors.horizontalCenter: parent.horizontalCenter
text: getDummyLink(qsTr("Troubleshooting and support"))
onLinkActivated: Qt.openUrlExternally(ctx.helpURL)
}
Text {
font.pixelSize: 14
anchors.horizontalCenter: parent.horizontalCenter
text: getDummyLink(qsTr("Report a bug"))
onLinkActivated: Qt.openUrlExternally(issueTracker)
}
/* XXX needs implementation in the backend
Button {
anchors.horizontalCenter: parent.horizontalCenter
text: qsTr("Open logs")
}
*/
}
function getDummyLink(text) {
return "<a href='#'>" + text + "</a>"
}
}
|