Loading...
 
Skip to main content

Calendar template tiki-calendar_nav broken

Status
Open
Subject
Calendar template tiki-calendar_nav broken
Version
18.x
21.x Regression
22.x
Category
  • Bug
  • Upgrade Blocker
  • Easy for Newbie Dev
  • Less than 30-minutes fix
Feature
Calendar
Resolution status
New
Submitted by
hman
Lastmod by
hman
Rating
(2)
Related-to
Description

The template displays arrows to navigate to the previous and to the next period the calendar shall display, but the template pumps the raw internal values into the tooltips, and even that without translation, breaking the GUI, because "Previous" and "Next" get translated into the target language, but not the period label (e.g. "week") so giving the user a mixture of target language and English that is actual raw Tiki code.

Copy to clipboard
{*previous*} <div class="cal-prev" style="display:inline-block; padding-right: 6px; position: relative; bottom: 20px; right: 100px"> <a class="tips" href="{query _type='relative' _ajax=$ajax _class='prev' todate=$focus_prev}" title=":{tr _0="{$viewmode|escape}"}Previous %0 {/tr}"> {icon name="previous"} </a> </div>

and

Copy to clipboard
{*next*} <div class="cal-next" style="display:inline-block; padding-left: 6px; position: relative; bottom: 20px; left: 100px"> <a class="tips" href="{query _type='relative' _ajax=$ajax _class='next' todate=$focus_next}" title=":{tr _0="{$viewmode|escape}"}Next %0{/tr}"> {icon name="next"} </a> </div>
Files
  1. Bildschirmfoto Vom 2021 06 02 10 43 48
  2. Tiki Calendar Nav
  3. Tiki Calendar Nav
  4. 2021 06 02 15 57 19
Importance
7
Easy to solve?
7
Priority
49
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7523
Created
Wednesday 02 September, 2020 21:52:11 UTC
by hman
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages