From 8e491b73adecac6287f534669b3f82828a5fa131 Mon Sep 17 00:00:00 2001 From: Ben0it-T <37017213+Ben0it-T@users.noreply.github.com> Date: Sun, 6 Oct 2024 09:39:54 +0200 Subject: [PATCH] Fix navigation to Puncher Fix: navigation to Puncher via the link on Time page and Week page --- WEB-INF/templates/time.tpl | 4 +--- WEB-INF/templates/week.tpl | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index fa24e806..bf68708d 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -13,9 +13,7 @@ function handleStop(buttonElement) { {if $show_navigation}
- {$i18n.label.day_view} - {if $user->isPluginEnabled('pu')} / {$i18n.label.puncher}{/if} - {if $user->isPluginEnabled('wv')} / {$i18n.label.week_view}{/if} + {$i18n.label.day_view}{if $user->isPluginEnabled('pu')} / {$i18n.label.puncher}{/if}{if $user->isPluginEnabled('wv')} / {$i18n.label.week_view}{/if}
{/if} diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index 6032d4eb..01234e19 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -20,7 +20,7 @@ function fillDropdowns() { {if $show_navigation}
- {$i18n.label.day_view} / {$i18n.label.week_view} + {$i18n.label.day_view}{if $user->isPluginEnabled('pu')} / {$i18n.label.puncher}{/if} / {$i18n.label.week_view}
{/if}