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

EWPP-1901: Update registration button information at the exact time. #1026

Merged
merged 3 commits into from
Mar 25, 2022

Conversation

sergepavle
Copy link
Member

OPENEUROPA-[Insert ticket number here]

Description

[Insert description here]

Change log

  • Added:
  • Changed:
  • Deprecated:
  • Removed:
  • Fixed:
  • Security:

Commands

[Insert commands here]

@sergepavle sergepavle changed the base branch from 3.x to EPIC-EWPP-1539-Event-v2 February 4, 2022 14:16
*/
(function (Drupal, drupalSettings) {
/**
* Shows related information when registration is active.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe something like: Shows registration information when the registration period is open.

@@ -76,22 +76,13 @@ protected function isCurrentDay(int $timestamp): bool {
}

Copy link
Member

Choose a reason for hiding this comment

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

Can we improve the method description for isCurrentDay? Maybe something like: Asserts if a given timestamp corresponds to the same day of the current request time.

namespace Drupal\oe_theme_content_event\Plugin\ExtraField\Display;

/**
* Base class for fields that require display livestream link in exact time.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe: Base class for fields rendering livestream information.

@@ -21,6 +21,8 @@ function oe_theme_content_event_theme() {
'label' => '',
'url' => '',
'description' => '',
'approaching_time_description' => '',
'approaching_time' => FALSE,
Copy link
Member

Choose a reason for hiding this comment

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

This name is a bit confusing. How about we call it "registration_day" and "registration_day_description"?

22Alexandra
22Alexandra previously approved these changes Feb 16, 2022
@sergepavle sergepavle force-pushed the EWPP-1901 branch 3 times, most recently from 0b5b2b4 to 87c5e80 Compare February 23, 2022 18:03
@sergepavle sergepavle changed the base branch from EPIC-EWPP-1539-Event-v2 to 3.x March 21, 2022 11:22
Copy link
Contributor

@upchuk upchuk left a comment

Choose a reason for hiding this comment

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

Blind for imanol

@upchuk upchuk merged commit 5be9906 into 3.x Mar 25, 2022
@upchuk upchuk deleted the EWPP-1901 branch March 25, 2022 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants