diff --git a/Classes/Controller/CategoryController.php b/Classes/Controller/CategoryController.php index 029704a..2b73acc 100644 --- a/Classes/Controller/CategoryController.php +++ b/Classes/Controller/CategoryController.php @@ -115,10 +115,6 @@ public function contactListAction(\Slub\SlubEvents\Domain\Model\Category $catego } } - #if ($category != NULL) { - # $events = $this->eventRepository->findAllGbByCategory($category); - #} - // get Default Category if (is_null($category)) { $category = $this->categoryRepository->findDefaultGeniusbarCategory(); diff --git a/Classes/Domain/Repository/EventRepository.php b/Classes/Domain/Repository/EventRepository.php index 81628e7..4c2125e 100644 --- a/Classes/Domain/Repository/EventRepository.php +++ b/Classes/Domain/Repository/EventRepository.php @@ -124,7 +124,6 @@ public function findEventByContact($contact, $category = null) if ($category != null) { $constraints[] = $query->in('categories.uid', explode(',', $category)); } - $constraints[] = $query->greaterThan('max_subscriber', 'subscribers'); $constraints[] = $query->greaterThan('start_date_time', strtotime('today')); if (count($constraints)) { diff --git a/Documentation/Settings.cfg b/Documentation/Settings.cfg index e08ad10..d27ea8a 100644 --- a/Documentation/Settings.cfg +++ b/Documentation/Settings.cfg @@ -1,6 +1,6 @@ [general] project = SLUB Event Management -release = 5.0 +release = 5.1 t3author = Alexander Bigga copyright = 2013-2021 by the author description = Tool for event registration and experts booking. diff --git a/Resources/Private/Partials/Event/GbItem.html b/Resources/Private/Partials/Event/GbItem.html index e4424d6..04c036a 100755 --- a/Resources/Private/Partials/Event/GbItem.html +++ b/Resources/Private/Partials/Event/GbItem.html @@ -5,7 +5,7 @@
- diff --git a/Resources/Private/Partials/Event/GbItemKind1.html b/Resources/Private/Partials/Event/GbItemKind1.html index fbcc6fc..87f7607 100644 --- a/Resources/Private/Partials/Event/GbItemKind1.html +++ b/Resources/Private/Partials/Event/GbItemKind1.html @@ -6,9 +6,9 @@
- + - @@ -16,14 +16,14 @@ - + - @@ -31,4 +31,4 @@
- \ No newline at end of file + diff --git a/Resources/Private/Partials/Event/GbItemKind2.html b/Resources/Private/Partials/Event/GbItemKind2.html index 7e26a02..4a2e490 100644 --- a/Resources/Private/Partials/Event/GbItemKind2.html +++ b/Resources/Private/Partials/Event/GbItemKind2.html @@ -4,11 +4,23 @@
  • - {event.title}
    - - - - + + + + + + + + + + + +
  • diff --git a/Resources/Private/Templates/Category/ContactList.html b/Resources/Private/Templates/Category/ContactList.html index a94c440..f5d981c 100644 --- a/Resources/Private/Templates/Category/ContactList.html +++ b/Resources/Private/Templates/Category/ContactList.html @@ -9,26 +9,22 @@
  • - - - - - - Wissensbar - - - - Veranstaltungen - - - - Sprechstunden - - - - - - + + Wissensbar + + + + + + Veranstaltungen + + + + Sprechstunden + + + + @@ -43,7 +39,6 @@ Bitte wählen Sie einen Ansprechpartner im Backend! -

    @@ -65,7 +60,7 @@ -

    +

    @@ -92,7 +87,7 @@

    } } -
    +
    @@ -103,7 +98,7 @@

    -

    +

    @@ -114,7 +109,7 @@

    -
    +
    @@ -125,7 +120,7 @@

    -

    +

    diff --git a/Resources/Private/Templates/Category/GbList.html b/Resources/Private/Templates/Category/GbList.html index 12b3780..afea543 100644 --- a/Resources/Private/Templates/Category/GbList.html +++ b/Resources/Private/Templates/Category/GbList.html @@ -13,11 +13,7 @@ - - - - - +
    diff --git a/Resources/Private/Templates/Event/Show.html b/Resources/Private/Templates/Event/Show.html index 604e8ec..df5bb81 100644 --- a/Resources/Private/Templates/Event/Show.html +++ b/Resources/Private/Templates/Event/Show.html @@ -92,11 +92,13 @@

    {event.title}

    - + + + +
    diff --git a/Resources/Public/Css/slub-event-gb.css b/Resources/Public/Css/slub-event-gb.css index 170c19a..c12f763 100755 --- a/Resources/Public/Css/slub-event-gb.css +++ b/Resources/Public/Css/slub-event-gb.css @@ -194,35 +194,40 @@ border-bottom: 0 transparent none; } -.slub-category-list ul ul > li:hover, #leftcol .slub-category-list ul ul > li a:hover, #leftcol .slub-category-list ul ul > li:hover > a { +.slub-category-list ul ul > li:hover, +#content .slub-category-list ul ul > li a:hover, +#content .slub-category-list ul ul > li:hover > a { background: #09a; color: #fff; } -.slub-category-list ul ul > li.nooffer:hover, #leftcol .slub-category-list ul ul > li.nooffer a:hover, #leftcol .slub-category-list ul ul > li.nooffer:hover > a { +.slub-category-list ul ul > li.nooffer:hover, +#content .slub-category-list ul ul > li.nooffer a:hover, +#content .slub-category-list ul ul > li.nooffer:hover > a { background: transparent; color: #999; font-weight: normal; } -#leftcol .slub-category-list ul { +#content .slub-category-list ul { list-style-image: none; list-style-type: none; margin: 0; padding: 0; } -#leftcol .slub-category-list .nooffer, #leftcol .slub-category-list .nooffer a { +#content .slub-category-list .nooffer, +#content .slub-category-list .nooffer a { color: #999 !important; font-weight: normal; opacity: 1 !important; } -#leftcol .slub-category-list ul ul > li > ul { +#content .slub-category-list ul ul > li > ul { font-size: 11px; } -#leftcol .slub-category-list ul ul > li a { +#content .slub-category-list ul ul > li a { color: #078; text-decoration: none; font-weight: bold; @@ -242,14 +247,14 @@ margin: 40px 0; } -#leftcol .slub-event-gblist .contacts > p:first-child { +.slub-event-gblist .contacts > p:first-child { color: #999; font-weight: 600; margin: 0 55px 0 0; float: right; } -#leftcol .slub-event-gblist .contacts:before { +.slub-event-gblist .contacts:before { content: " "; position: absolute; right: 0; @@ -287,24 +292,15 @@ display: block; } -#leftcol .slub-event-gblist ul { +.slub-event-gblist ul { border: 1px dotted #ccc; border-width: 1px 0; - padding: 10px 0; + padding: 10px 0 !important; margin: 0; list-style-image: none; list-style-type: none; } -#leftcol .slub-event-gblist ul h4 { - margin: 0; -} - -#leftcol .slub-event-gblist ul li.heading { - border-bottom: 1px dotted #ccc; - padding-bottom: 10px; -} - .slub-event-gblist ul li { padding: 6px; } @@ -321,9 +317,9 @@ clear: both; } -#leftcol ul.f3-widget-paginator { +.slub-event-list ul.f3-widget-paginator, +.slub-event-gblist ul.f3-widget-paginator { position: relative; - display: inline-block; float: right; background: #eee; padding: 3px; @@ -331,11 +327,13 @@ margin: -5px 5px 0 0; } -#leftcol ul.f3-widget-paginator:nth-of-type(1) { +.slub-event-list ul.f3-widget-paginator:nth-of-type(1), +.slub-event-gblist ul.f3-widget-paginator:nth-of-type(1) { margin-top: 23px; } -#leftcol ul.f3-widget-paginator li { +.slub-event-list ul.f3-widget-paginator li, +.slub-event-gblist ul.f3-widget-paginator li { float: left; margin: 0; color: #666; @@ -345,18 +343,21 @@ border-right: 1px dotted #ccc; } -#leftcol ul.f3-widget-paginator li:last-child { +.slub-event-list ul.f3-widget-paginator li:last-child, +.slub-event-gblist ul.f3-widget-paginator li:last-child { border-right: 0 none; } -#leftcol ul.f3-widget-paginator li a { +.slub-event-list ul.f3-widget-paginator li a, +.slub-event-gblist ul.f3-widget-paginator li a { text-decoration: none; color: #078; font-weight: normal; padding: 0 3px; } -#leftcol ul.f3-widget-paginator li a:hover { +.slub-event-list ul.f3-widget-paginator li a:hover, +.slub-event-gblist ul.f3-widget-paginator li a:hover { color: #c00; } @@ -382,4 +383,52 @@ background: #c3dde1; } + +.slub-event-gblist label { + display: block; + float: left; + width: 32%; + font-size: 14px; + clear: both; + margin: 5px 10px 0 0; +} + +.slub-event-gblist label.error { + float: none; + padding: 10px; + line-height: 1.4; + color: white; + background: red; + position: absolute; + right: -200px; + width: 300px; + margin: 0; + z-index: 1; +} + +.slub-event-gblist label.error:before { + position: absolute; + top: 50%; + margin-top: -5px; + left: -10px; + width: 0; + height: 0; + border: 5px solid; + border-color: transparent red transparent transparent; + content: ""; +} + +.slub-event-gblist select { + padding: 6px; + border: 1px solid; + display: block; + width: 200px; + max-width: 63%; + margin: 2px 10px 2px 0; + font-size: 13px; + float: left; + text-align: left; + background: white; +} + /* EOF */ diff --git a/composer.json b/composer.json index 7795638..7b05b8c 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "license": "GPL-3.0-or-later", "require": { - "typo3/cms-core": "~9.5.24|~10.4.12" + "typo3/cms-core": "~9.5.31|~10.4.21" }, "autoload": { "psr-4": { diff --git a/ext_emconf.php b/ext_emconf.php index ec03734..4a40712 100755 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -22,10 +22,10 @@ 'state' => 'stable', 'uploadfolder' => true, 'createDirs' => 'typo3temp/tx_slubevents/', - 'version' => '5.0.5', + 'version' => '5.1.0', 'constraints' => [ 'depends' => [ - 'typo3' => '9.5.28-10.4.99', + 'typo3' => '9.5.31-10.4.99', ], 'conflicts' => [ ],