Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/ApplicationPage.qml
Show First 20 Lines • Show All 378 Lines • ▼ Show 20 Line(s) | 376 | delegate: Kirigami.UrlButton { | |||
---|---|---|---|---|---|
379 | ToolTip.visible: hovered | 379 | ToolTip.visible: hovered | ||
380 | text: modelData.name | 380 | text: modelData.name | ||
381 | url: modelData.url | 381 | url: modelData.url | ||
382 | enabled: url !== "" | 382 | enabled: url !== "" | ||
383 | } | 383 | } | ||
384 | } | 384 | } | ||
385 | } | 385 | } | ||
386 | 386 | | |||
387 | // Homepage row | 387 | // "User Guide" row | ||
388 | Kirigami.UrlButton { | 388 | Kirigami.UrlButton { | ||
389 | Kirigami.FormData.label: i18n("Homepage:") | 389 | Kirigami.FormData.label: i18n ("Documentation:") | ||
390 | url: application.homepage | 390 | text: i18n("Read the user guide") | ||
391 | url: application.helpURL | ||||
391 | Layout.fillWidth: true | 392 | Layout.fillWidth: true | ||
392 | horizontalAlignment: Text.AlignLeft | 393 | horizontalAlignment: Text.AlignLeft | ||
393 | } | 394 | } | ||
394 | 395 | | |||
395 | // "User Guide" row | 396 | // Homepage row | ||
396 | Kirigami.UrlButton { | 397 | Kirigami.UrlButton { | ||
397 | Kirigami.FormData.label: i18n("User Guide:") | 398 | Kirigami.FormData.label: i18n("Get involved:") | ||
398 | url: application.helpURL | 399 | text: i18n("Visit the app's website") | ||
400 | url: application.homepage | ||||
399 | Layout.fillWidth: true | 401 | Layout.fillWidth: true | ||
400 | horizontalAlignment: Text.AlignLeft | 402 | horizontalAlignment: Text.AlignLeft | ||
401 | } | 403 | } | ||
402 | 404 | | |||
403 | // Donate row | 405 | // Donate row | ||
404 | Kirigami.UrlButton { | 406 | Kirigami.UrlButton { | ||
405 | Kirigami.FormData.label: i18n("Donate:") | 407 | text: i18n("Make a donation") | ||
406 | url: application.donationURL | 408 | url: application.donationURL | ||
407 | Layout.fillWidth: true | 409 | Layout.fillWidth: true | ||
408 | horizontalAlignment: Text.AlignLeft | 410 | horizontalAlignment: Text.AlignLeft | ||
409 | } | 411 | } | ||
410 | 412 | | |||
411 | // "Report a Problem" row | 413 | // "Report a Problem" row | ||
412 | Kirigami.UrlButton { | 414 | Kirigami.UrlButton { | ||
413 | Kirigami.FormData.label: i18n("Report a Problem:") | 415 | text: i18n("Report a problem") | ||
414 | url: application.bugURL | 416 | url: application.bugURL | ||
415 | Layout.fillWidth: true | 417 | Layout.fillWidth: true | ||
416 | horizontalAlignment: Text.AlignLeft | 418 | horizontalAlignment: Text.AlignLeft | ||
417 | } | 419 | } | ||
418 | } | 420 | } | ||
419 | } | 421 | } | ||
420 | 422 | | |||
421 | readonly property var addons: AddonsView { | 423 | readonly property var addons: AddonsView { | ||
422 | id: addonsView | 424 | id: addonsView | ||
423 | application: appInfo.application | 425 | application: appInfo.application | ||
424 | parent: overlay | 426 | parent: overlay | ||
425 | } | 427 | } | ||
426 | } | 428 | } |