Show slug in the interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
ddad462076
commit
1f9019f511
@ -18,6 +18,7 @@ export const FETCH_EVENT = gql`
|
|||||||
url,
|
url,
|
||||||
local,
|
local,
|
||||||
title,
|
title,
|
||||||
|
slug,
|
||||||
description,
|
description,
|
||||||
beginsOn,
|
beginsOn,
|
||||||
endsOn,
|
endsOn,
|
||||||
|
@ -49,6 +49,7 @@ export interface IEvent {
|
|||||||
local: boolean;
|
local: boolean;
|
||||||
|
|
||||||
title: string;
|
title: string;
|
||||||
|
slug: string;
|
||||||
description: string;
|
description: string;
|
||||||
category: Category;
|
category: Category;
|
||||||
|
|
||||||
@ -77,6 +78,7 @@ export interface IEvent {
|
|||||||
export class EventModel implements IEvent {
|
export class EventModel implements IEvent {
|
||||||
beginsOn: Date = new Date();
|
beginsOn: Date = new Date();
|
||||||
category: Category = Category.MEETING;
|
category: Category = Category.MEETING;
|
||||||
|
slug: string = '';
|
||||||
description: string = '';
|
description: string = '';
|
||||||
endsOn: Date = new Date();
|
endsOn: Date = new Date();
|
||||||
joinOptions: EventJoinOptions = EventJoinOptions.FREE;
|
joinOptions: EventJoinOptions = EventJoinOptions.FREE;
|
||||||
|
@ -46,8 +46,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="slug">
|
<p class="slug">
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
{{ event.slug }}
|
||||||
In aliquam libero quam, ut ultricies velit porttitor a. Maecenas mollis vestibulum dolor.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="column sidebar">
|
<div class="column sidebar">
|
||||||
|
Loading…
Reference in New Issue
Block a user