Verbeteren weergave
This commit is contained in:
parent
52e6fef44d
commit
f0808ee686
|
@ -10,20 +10,30 @@
|
||||||
{{ range . }}
|
{{ range . }}
|
||||||
{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
|
{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
|
||||||
{{ with .name }}<h3>{{$.Scratch.Get "counter"}}. {{ . }}</h3>{{ end }}
|
{{ with .name }}<h3>{{$.Scratch.Get "counter"}}. {{ . }}</h3>{{ end }}
|
||||||
{{ with .description }}<p><em>{{ . }}</em></p>{{ end }}
|
<div class="m-sm">
|
||||||
{{ with .goal }}<p>Doel: {{ . }}</p>{{ end }}
|
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
|
||||||
{{ with .link }}<p>Relevante link: <a href="{{ .url }}">{{ .name }}</a></p>{{ end }}
|
{{ with .goal }}<p><b>Doel</b>: {{ . }}</p>{{ end }}
|
||||||
{{ if .finished }}<p>✔️ Hoofdtaak is afgerond</p>{{ end }}
|
{{ with .comment }}<p><em>{{ . }}</em></p>{{ end }}
|
||||||
{{ $.Scratch.Set "counter2" 0 }}
|
{{ if .finished }}
|
||||||
{{ with .subtasks }}
|
<p>✔️ Afgerond{{ with .link }}, zie <a href="{{ .url }}">{{ .name }}</a>{{ end }}</p>
|
||||||
{{ range . }}
|
{{ else }}
|
||||||
{{ $.Scratch.Set "counter2" (add ($.Scratch.Get "counter2") 1) }}
|
<p>🛠️ Nog af te ronden</p>
|
||||||
<h4>{{ $.Scratch.Get "counter" }}.{{ $.Scratch.Get "counter2" }}. {{ .name }}</h4>
|
|
||||||
{{ with .description }}<p><em>{{ . }}</em></p>{{ end }}
|
|
||||||
{{ if .finished }}<p>✔️ Subtaak is afgerond</p>{{ end }}
|
|
||||||
{{ with .link }}<p>Relevante link: <a href="{{ .url }}">{{ .name }}</a></p>{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ $.Scratch.Set "counter2" 0 }}
|
||||||
|
{{ with .subtasks }}
|
||||||
|
{{ range . }}
|
||||||
|
{{ $.Scratch.Set "counter2" (add ($.Scratch.Get "counter2") 1) }}
|
||||||
|
<h4>{{ $.Scratch.Get "counter" }}.{{ $.Scratch.Get "counter2" }}. {{ .name }}</h4>
|
||||||
|
{{ with .description }}<blockquote>{{ . }}</blockquote>{{ end }}
|
||||||
|
{{ with .comment }}<p><em>{{ . }}</em></p>{{ end }}
|
||||||
|
{{ if .finished }}
|
||||||
|
<p>✔️ Subtaak afgerond{{ with .link }}, zie <a href="{{ .url }}">{{ .name }}</a>{{ end }}</p>
|
||||||
|
{{ else }}
|
||||||
|
<p>🛠️ Subtaak wordt nog aan gewerkt</p>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Reference in a new issue