Expose content language in HTML
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -90,6 +90,7 @@ export interface IEvent {
|
||||
options: IEventOptions;
|
||||
metadata: IEventMetadata[];
|
||||
contacts: IActor[];
|
||||
language: string;
|
||||
|
||||
toEditJSON(): IEventEditJSON;
|
||||
}
|
||||
@@ -134,6 +135,8 @@ export class EventModel implements IEvent {
|
||||
|
||||
publishAt = new Date();
|
||||
|
||||
language = "und";
|
||||
|
||||
participantStats = {
|
||||
notApproved: 0,
|
||||
notConfirmed: 0,
|
||||
@@ -210,6 +213,7 @@ export class EventModel implements IEvent {
|
||||
|
||||
this.tags = hash.tags;
|
||||
this.metadata = hash.metadata;
|
||||
this.language = hash.language;
|
||||
if (hash.options) this.options = hash.options;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user