Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
#1 add event description
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Apr 2, 2019
1 parent e4c6b05 commit f5161ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/app/event-display/event-display.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ <h2 translate="ticket.event-info"></h2>
</div>

<hr>

<div [innerHtml]="event.description[translate.currentLang]"></div>
</div>

<div *ngIf="tmpEvent">
Expand Down
1 change: 0 additions & 1 deletion src/app/event-display/event-display.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export class EventDisplayComponent implements OnInit {
const eventShortName = params['eventShortName'];

this.eventService.getEvent(eventShortName).subscribe(e => {
console.log(e);
this.event = e;
});

Expand Down
4 changes: 3 additions & 1 deletion src/app/model/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ export class Event {
imageUrl: string;
contentLanguages: ContentLanguage[];
websiteUrl: string;
location:string;
location: string;

organizationName: string;
organizationEmail: string;

description: {[key:string]: string}
}

export class ContentLanguage {
Expand Down

0 comments on commit f5161ee

Please sign in to comment.