[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [BP][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 <69cec03d9ba97_3b190384683ac@gitlab-sidekiq-low-urgency-cpu-bound-v2-94f457dd-5779g.mail>

MAGENE Sem Joel pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
741cbd21 by MAGENE Sem Joel at 2026-04-02T19:07:26+00:00
[BP][FIX][UX] Calendar: style disabled Today button and rename event action Copy to Duplicate
---
* [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
(cherry picked from commit d6bb20e95e9bba650b95e1110690efa839db7868)

See merge request tikiwiki/tiki!9922

- - - - -


2 changed files:

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


Changes:

=====================================
templates/calendar/view_item.tpl
=====================================
@@ -361,7 +361,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-tinted-primary 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}
     {/if}


=====================================
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/741cbd21530c0f7d175551acbb07a8b279f5c244

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