[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [FIX][UI] Fix incorrect syntax (in my commit ed4a2a0f) to add class 'no-box'...

"Gary Cunningham-Lee \(--- via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69ca2e1195054_3b18f0b0186a0@gitlab-sidekiq-low-urgency-cpu-bound-v2-6fbf5d87b4-6njxm.mail>

Gary Cunningham-Lee pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
ea481dc1 by Gary Cunningham-Lee at 2026-03-30T16:55:16+09:00
[FIX][UI] Fix incorrect syntax (in my commit ed4a2a0f) to add class 'no-box'...
---
* [FIX][UI] Fix incorrect syntax (in my commit ed4a2a0f) to add class 'no-box'...
---
* [FIX][UI] Fix incorrect syntax (in my commit ed4a2a0f) to add class 'no-box' to the module div when the module has 'no-box' set to 'y'.

See merge request tikiwiki/tiki!9879


(cherry picked from commit e323375c2d9a2bf8d884ec7fadf600f8ab759b89)

803b4633 [FIX][UI] Fix incorrect syntax (in my commit ed4a2a0f) to add class 'no-box'...

Co-authored-by: Gary Cunningham-Lee <gary_c-39LOpZwlz1/[email protected]>

See merge request tikiwiki/tiki!9880

- - - - -


1 changed file:

- templates/module.tpl


Changes:

=====================================
templates/module.tpl
=====================================
@@ -8,7 +8,7 @@
 {if $module_nobox neq 'y'}
 {if !isset($moduleId)}{$moduleId=' '}{/if}
 <div id="module_{$moduleId}"
-    class="card box-{$module_name}{if $module_decorations eq 'n'} no-decorations{/if}{if $nobox eq 'y'} no-box{/if} module" {if !empty($tpl_module_style) or $module_decorations eq 'n'}style="{$tpl_module_style}  {if $module_decorations eq 'n'}border-color: transparent !important; background: transparent;{/if} "{/if}>
+    class="card box-{$module_name}{if $module_decorations eq 'n'} no-decorations{/if}{if $module_nobox eq 'y'} no-box{/if} module" {if !empty($tpl_module_style) or $module_decorations eq 'n'}style="{$tpl_module_style}  {if $module_decorations eq 'n'}border-color: transparent !important; background: transparent;{/if} "{/if}>
    {* {if $module_decorations ne 'n'} *} {* Code updated so module title isn't affected by $module_decorations (actually it already wasn't).  *}
    <div class="card-header" {if !empty($module_params.bgcolor) || $module_decorations eq 'n'}style="{if !empty($module_params.bgcolor)}background-color:{$module_params.bgcolor};{/if}{if $module_decorations eq 'n'}border-color: transparent !important; background: transparent !important; padding-bottom: 0 !important;{/if}"{/if}>
             {if ($module_notitle ne 'y' && !empty($module_title)) || ($module_flip eq 'y') || $prefs.menus_items_icons eq 'y'}



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/ea481dc173150494d42a0c105a9f2a151e4594c4
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
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.