-
Notifications
You must be signed in to change notification settings - Fork 32
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
Conversation
*/ | ||
(function (Drupal, drupalSettings) { | ||
/** | ||
* Shows related information when registration is active. |
There was a problem hiding this comment.
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 { | |||
} | |||
|
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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"?
253e762
to
3760fca
Compare
modules/oe_theme_content_event/tests/src/FunctionalJavascript/InfoDisclosureExtraFieldTest.php
Outdated
Show resolved
Hide resolved
modules/oe_theme_content_event/tests/src/FunctionalJavascript/InfoDisclosureExtraFieldTest.php
Outdated
Show resolved
Hide resolved
modules/oe_theme_content_event/tests/src/FunctionalJavascript/InfoDisclosureExtraFieldTest.php
Outdated
Show resolved
Hide resolved
063051e
to
4c67a6d
Compare
0b5b2b4
to
87c5e80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blind for imanol
OPENEUROPA-[Insert ticket number here]
Description
[Insert description here]
Change log
Commands