Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
eecb99e7
Commit
eecb99e7
authored
Oct 23, 2021
by
Volker Krause
Browse files
Highlight expired certificate signatures
parent
50917ee6
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/app/HealthCertificateRecovery.qml
View file @
eecb99e7
...
...
@@ -83,6 +83,7 @@ ColumnLayout {
text
:
certificate
.
certificateExpiryDate
.
toLocaleString
(
Qt
.
locale
(),
Locale
.
ShortFormat
)
Kirigami.FormData.label
:
i18n
(
"
Expires:
"
)
visible
:
!
isNaN
(
certificate
.
certificateExpiryDate
.
getTime
())
color
:
certificate
.
certificateExpiryDate
.
getTime
()
<
Date
.
now
()
?
Kirigami
.
Theme
.
negativeTextColor
:
Kirigami
.
Theme
.
textColor
}
Kirigami.Icon
{
source
:
{
...
...
src/app/HealthCertificateTest.qml
View file @
eecb99e7
...
...
@@ -101,6 +101,7 @@ ColumnLayout {
text
:
certificate
.
certificateExpiryDate
.
toLocaleString
(
Qt
.
locale
(),
Locale
.
ShortFormat
)
Kirigami.FormData.label
:
i18n
(
"
Expires:
"
)
visible
:
!
isNaN
(
certificate
.
certificateExpiryDate
.
getTime
())
color
:
certificate
.
certificateExpiryDate
.
getTime
()
<
Date
.
now
()
?
Kirigami
.
Theme
.
negativeTextColor
:
Kirigami
.
Theme
.
textColor
}
Kirigami.Icon
{
source
:
{
...
...
src/app/HealthCertificateVaccination.qml
View file @
eecb99e7
...
...
@@ -107,6 +107,7 @@ ColumnLayout {
text
:
certificate
.
certificateExpiryDate
.
toLocaleString
(
Qt
.
locale
(),
Locale
.
ShortFormat
)
Kirigami.FormData.label
:
i18n
(
"
Expires:
"
)
visible
:
!
isNaN
(
certificate
.
certificateExpiryDate
.
getTime
())
color
:
certificate
.
certificateExpiryDate
.
getTime
()
<
Date
.
now
()
?
Kirigami
.
Theme
.
negativeTextColor
:
Kirigami
.
Theme
.
textColor
}
Kirigami.Icon
{
source
:
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment