Change 'event_weekly' shortcode display to a definition list
- looks far better than a table - is not dependent to selected themepull/9/head
parent
878c35f5fb
commit
87b8921c34
|
@ -10,59 +10,32 @@
|
|||
{{- $interval := $.Page.Param "event.weekly.interval" }}
|
||||
{{- $annotation := $.Page.Param "event.weekly.annotation" }}
|
||||
<p></p>
|
||||
<div class="purge-g">
|
||||
<div class="pure-u-1-24">
|
||||
</div>
|
||||
<div class="pure-u-1-22">
|
||||
<table class="pure-table pure-table-horizontal centered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
Wochentag
|
||||
</th>
|
||||
<th>
|
||||
von
|
||||
</th>
|
||||
<th>
|
||||
bis
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
Jeden
|
||||
{{ with $interval }}
|
||||
{{ . }}
|
||||
{{ $weekday }}
|
||||
im Monat
|
||||
{{ else }}
|
||||
{{ $weekday }}
|
||||
{{ end }}
|
||||
{{ with $annotation }}
|
||||
<br>
|
||||
<small>
|
||||
({{ . }})
|
||||
</small>
|
||||
{{ end }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $begin }}
|
||||
Uhr
|
||||
</td>
|
||||
<td>
|
||||
{{ with $finish }}
|
||||
{{ . }}
|
||||
Uhr
|
||||
{{ else }}
|
||||
open end
|
||||
{{ end }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="pure-u-1-24">
|
||||
</div>
|
||||
</div>
|
||||
<dl>
|
||||
<dt>Wochentag</dt>
|
||||
<dd>
|
||||
Jeden
|
||||
{{- with $interval }}
|
||||
{{ . }} {{ $weekday }} im Monat
|
||||
{{- else }}
|
||||
{{ $weekday }}
|
||||
{{- end }}
|
||||
</dd>
|
||||
{{- with $annotation }}
|
||||
<dd>
|
||||
<small>({{ . }})</small>
|
||||
</dd>
|
||||
{{- end }}
|
||||
<dt>von</dt>
|
||||
<dd>
|
||||
{{ $begin }} Uhr
|
||||
</dd>
|
||||
<dt>bis</dt>
|
||||
<dd>
|
||||
{{- with $finish }}
|
||||
{{ . }} Uhr
|
||||
{{- else }}
|
||||
open end
|
||||
{{- end }}
|
||||
</dd>
|
||||
</dl>
|
||||
<p></p>
|
||||
|
|
Loading…
Reference in New Issue