feat: Add path on vikunja to redirect automaticaly on Authelia

This commit is contained in:
Simon 2024-03-13 09:55:30 +01:00
parent 762fd00da2
commit e22fa7d706
3 changed files with 3 additions and 2 deletions

View File

@ -106,4 +106,5 @@ services:
icon: list-details
description: Organiser vous autour de listes de tâches et rendre visible l'avancement de vos projets avec votre équipe.
subdomain: projets
path: '?redirectToProvider=true'
doc: /docs/nuage/gérer-vos-données/

View File

@ -43,7 +43,7 @@
{{ $url = print "https://" $defaultValues.subdomain "." site.Params.domain "/" }}
{{ end }}
<a
href="{{ $url }}"
href="{{ $url }}{{ if $service.path }}{{ $service.path }}{{ else if $defaultValues.path }}{{ $defaultValues.path }}{{ end }}"
class="btn btn-primary"
>
Accéder au service

View File

@ -14,7 +14,7 @@
<a
class="nav-link social-link"
title="{{ $service.title | default $defaultValues.title }}"
href="{{ $url }}"
href="{{ $url }}{{ if $service.path }}{{ $service.path }}{{ else if $defaultValues.path }}{{ $defaultValues.path }}{{ end }}"
>
{{- partial "inline-svg" $icon -}}
<small class="ms-2 visually-hidden">{{ $service.title | default $defaultValues.title }}</small>