Refactor 'remote_url' setting to be displayed normally alongside other event information

This commit is contained in:
sixtus 2023-01-01 16:22:04 +01:00
parent cac9479db7
commit b57f48b860
3 changed files with 7 additions and 17 deletions

View File

@ -3,19 +3,12 @@
text-align: center; text-align: center;
} }
.border-dashed {
border: 1px dashed #4d4d4c;
}
.pad-horizontal { .pad-horizontal {
padding: 0 .5em; padding: 0 .5em;
} }
.pad-vertical { .pad-vertical {
padding: .5em 0; padding: .5em 0;
} }
.pad-both {
padding: .5em;
}
dl dt, dl dt,
dl dd { dl dd {

View File

@ -17,7 +17,6 @@ aliases:
- /termine/montag - /termine/montag
event: event:
weekly: weekly:
# remote_url: https://meetmeetmeet.de/dezentrale-programmierrunde
intro: >- intro: >-
Ob Du mit bits und bytes zaubern kannst, oder gerade erst Ob Du mit bits und bytes zaubern kannst, oder gerade erst
100 = 11+1 verstehst: Wir freuen uns auf Deinen Besuch bei uns. Du 100 = 11+1 verstehst: Wir freuen uns auf Deinen Besuch bei uns. Du
@ -26,6 +25,7 @@ event:
weekday: Montag weekday: Montag
begin: '19.00' begin: '19.00'
finish: '21.00' finish: '21.00'
# remote_url: https://meetmeetmeet.de/dezentrale-programmierrunde
matrix_channel: '#programmierrunde:chat.dezentrale.space' matrix_channel: '#programmierrunde:chat.dezentrale.space'
--- ---

View File

@ -19,15 +19,6 @@
<p> <p>
{{ $intro }} {{ $intro }}
</p> </p>
{{- with $remote_url }}
<div class="pure-u-1-8"></div>
<div class="pure-u-3-4 border-dashed pad-both">
Das Event findet virtuell statt
<br>
<a href="{{ . }}" target="_blank">{{ . }}</a>
</div>
<div class="pure-u-1-8"></div>
{{- end }}
<dl> <dl>
<dt>Termin</dt> <dt>Termin</dt>
<dd> <dd>
@ -49,6 +40,12 @@
<small>({{ . }})</small> <small>({{ . }})</small>
</dd> </dd>
{{- end }} {{- end }}
{{- with $remote_url }}
<dt>Remote Treffen</dt>
<dd>
Das Event findet virtuell statt: <a href="{{ . }}">{{ . }}</a>
</dd>
{{- end }}
{{- with $matrix_channel }} {{- with $matrix_channel }}
<dt>Matrix Channel</dt> <dt>Matrix Channel</dt>
<dd> <dd>