mirror of
https://github.com/dwaxweiler/connector-mobilizon
synced 2025-06-05 21:59:25 +02:00
wip
This commit is contained in:
@ -2,24 +2,19 @@ const { __ } = wp.i18n
|
||||
|
||||
const NAME = '<wordpress-name>'
|
||||
|
||||
const URL = 'https://mobilizon.fr' // TODO
|
||||
const LOCALE = 'en-GB' // TODO
|
||||
const TIMEZONE = 'Europe/Rome' // TODO
|
||||
const isShortOffsetNameShown = true // eslint-disable-line no-unused-vars
|
||||
|
||||
export default ({ attributes }) => {
|
||||
return (
|
||||
<ul
|
||||
className={NAME + '_events-list'}
|
||||
data-url={URL}
|
||||
data-locale={LOCALE}
|
||||
data-maximum={attributes.eventsCount}
|
||||
data-group-name={attributes.groupName}
|
||||
data-time-zone={TIMEZONE}
|
||||
>
|
||||
<li style="display: none;">
|
||||
{__('The events could not be loaded!', '<wordpress-name>')}
|
||||
</li>
|
||||
<li style="display: none;">
|
||||
{__('The group could not be found!', '<wordpress-name>')}
|
||||
</li>
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user