title-image popup in event view
This commit is contained in:
parent
cee76689eb
commit
cfc1597158
|
@ -127,6 +127,11 @@
|
|||
>
|
||||
<span v-else>{{ extra.value }}</span>
|
||||
</event-metadata-block>
|
||||
<event-metadata-block v-if="event.picture" :title="$t('Headline picture')">
|
||||
<div style="position: relative" @click="$emit('showHeadlineModal', true)">
|
||||
<img :src="event.picture.url" style="width: 100%; cursor: zoom-in" />
|
||||
</div>
|
||||
</event-metadata-block>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
|
@ -164,6 +169,7 @@ export default class EventMetadataSidebar extends Vue {
|
|||
@Prop({ type: Object as PropType<IConfig>, required: true }) config!: IConfig;
|
||||
@Prop({ required: true }) user!: IUser | undefined;
|
||||
@Prop({ required: false, default: false }) showMap!: boolean;
|
||||
@Prop({ required: false, default: false }) showImage!: boolean;
|
||||
|
||||
RouteName = RouteName;
|
||||
|
||||
|
|
Loading…
Reference in a new issue