Improvement of logout. Added Sacrital Service. Added website link for event places and direct link to other websites in worship overview
This commit is contained in:
@@ -1,24 +1,32 @@
|
||||
<template>
|
||||
<div>
|
||||
<table v-if="worships.length" class="worships">
|
||||
<tr v-for="worship in worships" :key="worship.id" :style="worship.eventPlace && worship.eventPlace.backgroundColor ? `background-color:${worship.eventPlace.backgroundColor}` : ''">
|
||||
<tr v-for="worship in worships" :key="worship.id"
|
||||
:style="worship.eventPlace && worship.eventPlace.backgroundColor ? `background-color:${worship.eventPlace.backgroundColor}` : ''">
|
||||
<td>
|
||||
<div>{{ formatDate(worship.date) }}</div>
|
||||
<div>{{ worship.dayName }}</div>
|
||||
</td>
|
||||
<td>
|
||||
<div v-if="worship.neighborInvitation" class="neighborhood-invitation">Einladung zum Gottesdienst im Nachbarschaftsraum:</div>
|
||||
<div v-if="worship.neighborInvitation" class="neighborhood-invitation">Einladung zum Gottesdienst im
|
||||
Nachbarschaftsraum:</div>
|
||||
<h3>
|
||||
<span :class="worship.highlightTime ? 'highlight-time' : ''">{{ formatTime(worship.time) }}</span> -
|
||||
<span :class="worship.highlightTime ? 'highlight-time' : ''">{{ formatTime(worship.time)
|
||||
}}</span> -
|
||||
{{ !worship.neighborInvitation ? worship.title : `Gottesdienst in ${worship.eventPlace.name}` }}
|
||||
</h3>
|
||||
<div v-if="worship.organizer">Gestaltung: {{ worship.organizer }}</div>
|
||||
<div v-if="worship.sacristanService" class="internal-information">Küsterdienst: {{ worship.sacristanService }}</div>
|
||||
<div v-if="worship.collection">Kollekte: {{ worship.collection }}</div>
|
||||
<div v-if="worship.address">{{ worship.address }}</div>
|
||||
<div v-if="!worship.address && worship.eventPlace.id && worship.eventPlace.id">
|
||||
Adresse: {{ worship.eventPlace.name }}, {{ worship.eventPlace.street }}, {{ worship.eventPlace.city }}
|
||||
Adresse: {{ worship.eventPlace.name }}, {{ worship.eventPlace.street }}, {{
|
||||
worship.eventPlace.city }}
|
||||
</div>
|
||||
<div v-if="worship.selfInformation" class="selfinformation">Bitte informieren Sie sich auch auf den
|
||||
<a v-if="worship.eventPlace.website" :href="worship.eventPlace.website" target="_blank">Internetseiten dieser Gemeinde!</a><span
|
||||
v-else>Internetseiten dieser Gemeinde!</span>
|
||||
</div>
|
||||
<div v-if="worship.selfInformation" class="selfinformation">Bitte informieren Sie sich auch auf den Internetseiten dieser Gemeinde!</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -85,4 +93,11 @@ table.worships td div{
|
||||
font-weight: bold;
|
||||
color: #0020e0;
|
||||
}
|
||||
a {
|
||||
color: #0020e0;
|
||||
}
|
||||
.internal-information {
|
||||
color: #e45;
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user