Afficher message si documentation n'est pas disponible
This commit is contained in:
parent
76762026f3
commit
84dc500a77
1 changed files with 15 additions and 11 deletions
|
@ -12,17 +12,21 @@
|
||||||
<div class="wrapper documentationWrapper">
|
<div class="wrapper documentationWrapper">
|
||||||
<h1 class="heading1">Documentation</h1>
|
<h1 class="heading1">Documentation</h1>
|
||||||
<p>
|
<p>
|
||||||
{{ range .Data.Buckets }}
|
{{ if not .Data.Buckets }}
|
||||||
{{ $bucket_name := .Name }}
|
Documentation non-accessible pour l'instant, merci de votre patience
|
||||||
{{ $bucket_display_name := .DisplayName }}
|
{{ else }}
|
||||||
<details class="documentationCategorie">
|
{{ range .Data.Buckets }}
|
||||||
<summary class="documentationDescription">{{ $bucket_display_name }}</summary>
|
{{ $bucket_name := .Name }}
|
||||||
<ul class="documentationListe">
|
{{ $bucket_display_name := .DisplayName }}
|
||||||
{{ range .Documents }}
|
<details class="documentationCategorie">
|
||||||
<a class ="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}"><li class="documentationDocument">{{ . }}</li></a>
|
<summary class="documentationDescription">{{ $bucket_display_name }}</summary>
|
||||||
{{ end}}
|
<ul class="documentationListe">
|
||||||
</ul>
|
{{ range .Documents }}
|
||||||
</details>
|
<a class ="documentationLien" href="/public/documentation/{{ $bucket_name }}/{{ . }}"><li class="documentationDocument">{{ . }}</li></a>
|
||||||
|
{{ end}}
|
||||||
|
</ul>
|
||||||
|
</details>
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in a new issue