Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRUP-667 Display expired credentials as such #158

Closed
wants to merge 3 commits into from
Closed

DRUP-667 Display expired credentials as such #158

wants to merge 3 commits into from

Conversation

boobaa
Copy link
Contributor

@boobaa boobaa commented Mar 13, 2019

Related issue is #156.

];
$expires = $credential->getExpiresAt();
if ($expires && $expires->getTimestamp() < \Drupal::time()->getRequestTime()) {
$variables['primary_wrapper'][$property]['value'] = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DRY. The render array is always the same, just the #value and the #indicator_status has to be calculated individually.

@mxr576
Copy link
Contributor

mxr576 commented Mar 13, 2019

@boobaa Please rebase your PR. 3f5a24b is not related to this PR.

@mxr576
Copy link
Contributor

mxr576 commented Mar 13, 2019

Also this PR does not address my comment on #156 (comment)

@mxr576 mxr576 changed the title Display expired credentials as such DRUP-667 Display expired credentials as such Mar 26, 2019
@mxr576 mxr576 added the enhancement New feature or request label Mar 26, 2019
@cnovak
Copy link
Collaborator

cnovak commented May 5, 2020

This has been fixed by #290

@cnovak cnovak closed this May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants