forked from geolba/tethys.frontend
- only individual bulma components, not everything
- styleing for search detail page
This commit is contained in:
parent
3e73b91cf0
commit
57ba2af299
6 changed files with 151 additions and 75 deletions
|
@ -156,6 +156,10 @@ export class DbDataset {
|
|||
// return ($embargoDate->lessThan($now));
|
||||
}
|
||||
|
||||
public get MainTitle(): Nullable<Title> {
|
||||
return this.titles.find((e) => e.type === TitleType.Main);
|
||||
}
|
||||
|
||||
public get MainAbstract(): Nullable<Abstract> {
|
||||
return this.abstracts.find((e) => e.type === AbstractType.Abstract);
|
||||
}
|
||||
|
@ -198,6 +202,10 @@ export enum AbstractType {
|
|||
Other = " Other",
|
||||
}
|
||||
|
||||
export enum TitleType {
|
||||
Main = "Main",
|
||||
Translated = "Translated",
|
||||
}
|
||||
export interface Title {
|
||||
id: number;
|
||||
type: string;
|
||||
|
@ -220,6 +228,7 @@ export interface Author {
|
|||
first_name: string;
|
||||
last_name: string;
|
||||
name_type: string;
|
||||
full_name: string;
|
||||
}
|
||||
|
||||
export interface Person {
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue