[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [BP][FIX] (not) cypht: adding more message actions as buttons
"Jonny Bradley \(@jonnybradley\) via TikiWiki-cvs" <[email protected]> Sat, 11 Jul 2026 11:31:09 +0000
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <6a52297df0175_3819c0f81319e@gitlab-sidekiq-low-urgency-cpu-bound-v2-5b7879cf46-w6dzs.mail> |
Jonny Bradley pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki
Commits:
3c68ce57 by Sammy Ndabo at 2026-07-11T11:26:59+00:00
[BP][FIX] (not) cypht: adding more message actions as buttons
---
* [BP][FIX] tracker rules: For checkboxes the `:last` input with the specified...
---
* [FIX] tracker rules: For checkboxes the `:last` input with the specified...
---
* [FIX] tracker rules: For checkboxes the `:last` input with the specified...
---
* [FIX] tracker rules: For checkboxes the `:last` input with the specified `name^` attribute ("name starting with ins_xxx") was picking up the `_old` hidden input when editing an item, so move the hidden one before the real checkbox.
See merge request tikiwiki/tiki!10681
(cherry picked from commit d3eaaba631e45e1e244cb85b7b26db674dfc44b7)
See merge request tikiwiki/tiki!10683
(cherry picked from commit eddbca4ccef5eeeaf6f2e93a4f8efb6d27aac5fc)
See merge request tikiwiki/tiki!10684
(cherry picked from commit 2a0c849a6af0926da7c98584b89aa91c3c1c7218)
See merge request tikiwiki/tiki!10685
- - - - -
1 changed file:
- templates/trackerinput/checkbox.tpl
Changes:
=====================================
templates/trackerinput/checkbox.tpl
=====================================
@@ -1,6 +1,7 @@
<div class="form-check form-check-inline">
- <input type="checkbox" class="form-check-input" aria-label="{tr}Select{/tr}" name="{$field.ins_id}"{if $field.value eq 'y' or $field.value eq 'on' or strtolower($field.value) eq 'yes' or $field.defaultvalue eq 'y'} checked="checked"{/if}>
{if $field.value eq 'y' or $field.value eq 'on' or strtolower($field.value) eq 'yes' or $field.defaultvalue eq 'y'}
<input type="hidden" name="{$field.ins_id}_old" value="1">
{/if}
+ {* The actual checkbox needs to be last in the page for Tracker Field Rules to find it *}
+ <input type="checkbox" class="form-check-input" aria-label="{tr}Select{/tr}" name="{$field.ins_id}"{if $field.value eq 'y' or $field.value eq 'on' or strtolower($field.value) eq 'yes' or $field.defaultvalue eq 'y'} checked="checked"{/if}>
</div>
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/3c68ce57057b73db31381f7245e3094c6951a055
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/3c68ce57057b73db31381f7245e3094c6951a055
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