[Library|Trunk]

Updates on Deposit to work with explore




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58572 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2020-04-28 10:46:23 +00:00
parent 361cc94701
commit 14544d65e9
3 changed files with 4 additions and 2 deletions

View File

@ -84,7 +84,7 @@ import {Breadcrumb} from "../utils/breadcrumbs/breadcrumbs.component";
type="search" [(ngModel)]="keyword" name="keyword"
placeholder="{{searchPlaceHolder}}">
<div class="uk-padding-remove-left">
<button routerLinkActive="uk-link" routerLink="{{depositRoute}}" [queryParams]="{keyword: keyword}" [class]="'uk-button uk-text-bold '+ (!!communityId?'portal-button':'')"> Search
<button routerLinkActive="uk-link" routerLink="{{depositRoute}}" [queryParams]="{keyword: keyword}" [class]="'uk-button uk-text-bold '+ (!!(communityId)?'':' portal-button')"> Search
</button>
<div class="uk-padding-small">
<a [queryParams]="properties.environment!='development'?{}:routerHelper.createQueryParam('communityId',communityId)" routerLinkActive="router-link-active" [routerLink]="depositRoute"

View File

@ -50,9 +50,11 @@ import {Breadcrumb} from "../utils/breadcrumbs/breadcrumbs.component";
Search
</button>
</div>-->
<div class="uk-padding-remove-left">
<button (click)="keywordChanged()" type="submit"
class="portal-button uk-margin-small-left uk-margin-small-top uk-button">Search
</button>
</div>
</form>
</div>

View File

@ -19,5 +19,5 @@ export class BreadcrumbsComponent {
@Input() public light: boolean = false;
@Input() public breadcrumbs: Breadcrumb[] = [];
@Input() public addClass;
@Input() public addClass = "";
}