small fixes

This commit is contained in:
teldra 2022-04-10 11:30:54 +02:00
parent 5c66b00d90
commit b1b1984608
4 changed files with 5 additions and 2 deletions

View File

@ -22,6 +22,7 @@ forms:
name: "Kategorien"
expanded: true
new: "Neue Kategorien"
help: "gerne Plural"
- title: when
group: events
input_type: text
@ -40,6 +41,7 @@ forms:
name: "Eventkategorien"
expanded: false
new: "Neue Events"
help: "gerne Plural"
- title: covid
group: misc
input_type: text

View File

@ -5,7 +5,7 @@
<article class="minmax">
<div style="flex-direction: row;">
{{ .Content }}
{{ .context.Content }}
</div>
<noscript><p><b>Bitte aktiviere Javascript, sonst funktioniert der Generator nicht.</b></p></noscript>
{{ if (index .context.Params.forms 0) }}

View File

@ -86,7 +86,7 @@
{{ end }}
</fieldset>
{{ if .new }}
<label id="label" for="new{{- .title -}}">{{ .new }} <span style="font-size: x-small;">({{ $divide }})</span></label>
<label id="label" for="new{{- .title -}}">{{ .new }} <span style="font-size: x-small;">({{- $divide -}}{{- if .help -}}, {{ .help }}{{ end }})</span></label>
<input type="text" name="new{{- .title -}}" id="new{{- .title -}}" value="" placeholder="{{ .eg }}" />
{{ end }}
</div>

View File

@ -25,6 +25,7 @@
<a href="{{- "newsletter" | absLangURL -}}">{{- $newsletter | strings.FirstUpper -}}</a><br><br>
{{- end -}}
<a href="{{- "misc" | absLangURL -}}">Misc</a><br><br>
<a href="{{- "tools" | absLangURL -}}">Tools</a><br><br>
</div>
<div class="infobox">