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,6 +12,9 @@
|
||||||
<div class="wrapper documentationWrapper">
|
<div class="wrapper documentationWrapper">
|
||||||
<h1 class="heading1">Documentation</h1>
|
<h1 class="heading1">Documentation</h1>
|
||||||
<p>
|
<p>
|
||||||
|
{{ if not .Data.Buckets }}
|
||||||
|
Documentation non-accessible pour l'instant, merci de votre patience
|
||||||
|
{{ else }}
|
||||||
{{ range .Data.Buckets }}
|
{{ range .Data.Buckets }}
|
||||||
{{ $bucket_name := .Name }}
|
{{ $bucket_name := .Name }}
|
||||||
{{ $bucket_display_name := .DisplayName }}
|
{{ $bucket_display_name := .DisplayName }}
|
||||||
|
@ -24,6 +27,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</details>
|
</details>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
{{ .Message }}
|
{{ .Message }}
|
||||||
|
|
Loading…
Reference in a new issue