[angular-16-irish-monitor | DONE | ADDED] Add title prefix for research outcomes
This commit is contained in:
parent
f3c7ddec93
commit
38b8865be0
|
@ -17,7 +17,7 @@ import {StringUtils} from "../utils/string-utils.class";
|
||||||
selector: 'search-research-results',
|
selector: 'search-research-results',
|
||||||
template: `
|
template: `
|
||||||
<new-search-page
|
<new-search-page
|
||||||
pageTitle="{{(simpleView?'':'Advanced ')}} Search for {{ getEntityName(resultType, true, true) | titlecase }}"
|
pageTitle="{{pageTitlePrefix}}{{(simpleView?'':'Advanced ')}} Search for {{ getEntityName(resultType, true, true) | titlecase }}"
|
||||||
[entityType]="resultType"
|
[entityType]="resultType"
|
||||||
[type]="getEntityName(resultType, true, true)"
|
[type]="getEntityName(resultType, true, true)"
|
||||||
[results]="results"
|
[results]="results"
|
||||||
|
@ -108,7 +108,7 @@ export class SearchResearchResultsComponent {
|
||||||
@Input() usedBy: string = "search";
|
@Input() usedBy: string = "search";
|
||||||
@Input() orcidQuery: string = "";
|
@Input() orcidQuery: string = "";
|
||||||
@Input() identifiers: string[] = [];
|
@Input() identifiers: string[] = [];
|
||||||
|
@Input() pageTitlePrefix: string = "";
|
||||||
constructor(private route: ActivatedRoute, private _router: Router,
|
constructor(private route: ActivatedRoute, private _router: Router,
|
||||||
private _searchResearchResultsService: SearchResearchResultsService,
|
private _searchResearchResultsService: SearchResearchResultsService,
|
||||||
private _contextService: ContextsService) {
|
private _contextService: ContextsService) {
|
||||||
|
|
Loading…
Reference in New Issue