[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH][UI] Add class 'no-box' to the module div when the module has 'no-box'...
"Gary Cunningham-Lee \(--- via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69ac33984ff98_3b8d67bc8276ba@gitlab-sidekiq-low-urgency-cpu-bound-v2-6cd78889bf-cgswh.mail> |
Gary Cunningham-Lee pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
ed4a2a0f by Gary Cunningham-Lee at 2026-03-07T23:10:08+09:00
[ENH][UI] Add class 'no-box' to the module div when the module has 'no-box'...
---
* [ENH][UI] Add class 'no-box' to the module div when the module has 'no-box' set to 'y'. This is useful for some themes.
See merge request tikiwiki/tiki!9711
- - - - -
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} 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 $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/ed4a2a0f4fd1de497a3b4a11f8d542a6a9b20376
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/ed4a2a0f4fd1de497a3b4a11f8d542a6a9b20376
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