summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-12-28 20:48:06 +0100
committerPapoteur <papoteur@mageia.org>2018-12-28 20:48:06 +0100
commit961c5ef84ceb83c21fccf555be6297ab942d3618 (patch)
tree776cdb783de43ca4bd6c54c1281ac8fa4f05e851 /qml
parent596939d6245a5cc7cdeb6ef87f7f949b9f906c8e (diff)
downloadmageiawelcome-961c5ef84ceb83c21fccf555be6297ab942d3618.tar
mageiawelcome-961c5ef84ceb83c21fccf555be6297ab942d3618.tar.gz
mageiawelcome-961c5ef84ceb83c21fccf555be6297ab942d3618.tar.bz2
mageiawelcome-961c5ef84ceb83c21fccf555be6297ab942d3618.tar.xz
mageiawelcome-961c5ef84ceb83c21fccf555be6297ab942d3618.zip
Add button for advisories in updates (mga#23922)
Diffstat (limited to 'qml')
-rw-r--r--qml/mw-ui.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml
index 892f0bd..87617ea 100644
--- a/qml/mw-ui.qml
+++ b/qml/mw-ui.qml
@@ -249,6 +249,7 @@ Rectangle {
Column {
x:10; y: 30
+ spacing: 10
Label { text: qsTr("How Mageia manages updates"); font.bold: true; padding: 10 }
Label {
width: slideshow.width * .9
@@ -271,6 +272,21 @@ Rectangle {
}
}
}
+ Button {
+ x:10
+ width: view.width * .18;
+ objectName: "link"
+ onClicked:{ link.weblink("https://advisories.mageia.org/")}
+ style: ButtonStyle {
+ label: Label {
+ horizontalAlignment: TextInput.AlignHCenter
+ //: (en) indicates that the content of the link is in English
+ text: qsTr("Advisories of updates (en)");
+ width: parent.width
+ wrapMode: Text.WordWrap
+ }
+ }
+ }
}
Label {