mirror of https://github.com/Ombi-app/Ombi
parent
6c443469af
commit
e231d701cc
@ -0,0 +1,18 @@
|
||||
<div *ngIf="artist">
|
||||
<div>
|
||||
<strong>Type:</strong>
|
||||
<div>{{artist.type}}</div>
|
||||
</div>
|
||||
<div>
|
||||
<strong>Country</strong>
|
||||
<div>{{artist.country}}</div>
|
||||
</div>
|
||||
<div>
|
||||
<strong>Start Date</strong>
|
||||
<div>{{artist.startYear}}</div>
|
||||
</div>
|
||||
<div *ngIf="artist.endYear">
|
||||
<strong>End Date</strong>
|
||||
<div>{{artist.endYear}}</div>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,12 @@
|
||||
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
||||
import { ISearchArtistResult } from "../../../../../interfaces";
|
||||
|
||||
@Component({
|
||||
templateUrl: "./artist-information-panel.component.html",
|
||||
styleUrls: ["../../../../media-details.component.scss"],
|
||||
selector: "artist-information-panel",
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class ArtistInformationPanel {
|
||||
@Input() public artist: ISearchArtistResult;
|
||||
}
|
Loading…
Reference in new issue