[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][UX] Calendar: style disabled Today button and rename event action Copy to Duplicate

"MAGENE Sem Joel \(@Jomagene\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69cdf8fa407fc_3b1905b4-31a@gitlab-sidekiq-low-urgency-cpu-bound-v2-78df9f9d69-t5npk.mail>

MAGENE Sem Joel pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
d6bb20e9 by MAGENE Sem Joel at 2026-04-02T04:57:51+00:00
[FIX][UX] Calendar: style disabled Today button and rename event action Copy to Duplicate
---
* [FIX][UX] Calendar: rename event action Copy to Duplicate

* [FIX][UX] Calendar: style disabled Today button clearly

See merge request tikiwiki/tiki!9894

- - - - -


2 changed files:

- templates/calendar/view_item.tpl
- themes/base_files/scss/_tiki-selectors.scss


Changes:

=====================================
templates/calendar/view_item.tpl
=====================================
@@ -22,7 +22,7 @@
                     href="{service controller='calendar' action='edit_item' calitemId=0 copy_from=$calitem.calitemId|escape modal=1 return_url='tiki-calendar.php'}"
                     class="btn btn-light edit-calendar-item-btn cleanable-false"
                     title="{tr}Create a new event based on this one{/tr}">
-                    {icon name='copy'} {tr}Copy{/tr}
+                    {icon name='copy'} {tr}Duplicate{/tr}
                 </a>
             {/if}
         </div>


=====================================
themes/base_files/scss/_tiki-selectors.scss
=====================================
@@ -87,12 +87,21 @@ a.ec-event:hover {
     color: color-contrast($secondary) !important;
 }
 
-button.ec-today,
+button.ec-today:not(:disabled),
 .ec-today .ec-day-head {
     background-color: var(--bs-secondary) !important;
     color: color-contrast($secondary) !important;
 }
 
+button.ec-today:disabled,
+button.ec-today[disabled] {
+    background-color: rgba(var(--bs-secondary-rgb), 0.35) !important;
+    color: rgba(var(--bs-body-color-rgb), 0.65) !important;
+    border-color: rgba(var(--bs-secondary-rgb), 0.35) !important;
+    box-shadow: none;
+    opacity: 1;
+}
+
 // tiki-categories.less - tiki-jquery.js - Doesn't show up in a search Apr 21 2024
 // /* Fancy filter */
 //.filter {



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d6bb20e95e9bba650b95e1110690efa839db7868
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.