[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [FIX] calendar_modules.php: fix "Event end" and "Organizer" not displayed in...

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <690b6fc817bfb_2ce26808bf@gitlab-sidekiq-low-urgency-cpu-bound-v2-675f7f6dbf-8sbw8.mail>

Victor Emanouilov pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
c42d55ee by Alfred Syatsukwa at 2025-11-05T15:31:23+00:00
[FIX] calendar_modules.php: fix "Event end" and "Organizer" not displayed in calendar invitation email
---
* [FIX] calendar_modules.php: fix "Event end" and "Organizer" not displayed in calendar invitation email

See merge request tikiwiki/tiki!8610

- - - - -


1 changed file:

- lib/cypht/modules/tiki/calendar_modules.php


Changes:

=====================================
lib/cypht/modules/tiki/calendar_modules.php
=====================================
@@ -405,9 +405,9 @@ class Hm_Output_add_rsvp_actions extends Hm_Output_Module
         $headers = $this->get('msg_headers');
         if (! empty($event)) {
             $res = '';
-            $res .= sprintf('<tr class="header_event_dtstart"><th>%s</th><td>%s</td></tr>', tr('Event start'), TikiLib::lib('tiki')->get_long_datetime($event['start']));
-            $res .= sprintf('<tr class="header_event_dtend"><th>%s</th><td>%s</td></tr>', tr('Event end'), TikiLib::lib('tiki')->get_long_datetime($event['end']));
-            $res .= sprintf('<tr class="header_event_organizer"><th>%s</th><td>%s</td></tr>', tr('Organizer'), implode(", ", $event['real_organizers']));
+            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_dtstart"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Event start'), TikiLib::lib('tiki')->get_long_datetime($event['start']));
+            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_dtend"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Event end'), TikiLib::lib('tiki')->get_long_datetime($event['end']));
+            $res .= sprintf('<div class="row g-0 py-0 py-sm-1 small_header d-flex header_event_organizer"><div class="col-md-2"><span class="text-muted">%s</span></div><div class="col-md-10 col-12">%s</div></div>', tr('Organizer'), implode(", ", $event['real_organizers']));
             if ($prefs['feature_calendar'] == 'y' && $method != 'CANCEL') {
                 $existing = TikiLib::lib('calendar')->find_by_uid(null, $event['uid']);
                 if (! $existing) {



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c42d55eef6f4cfdf90ae8590621d9785bd8f50e2

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/c42d55eef6f4cfdf90ae8590621d9785bd8f50e2
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.