[Library | new-theme]: project.component.html: Small fixes in project landing redesign.
This commit is contained in:
parent
e658c5d23a
commit
b1c9d3dc01
|
@ -52,8 +52,7 @@
|
||||||
<li *ngIf="isRouteAvailable('participate/deposit/learn-how')" class="uk-text-center"
|
<li *ngIf="isRouteAvailable('participate/deposit/learn-how')" class="uk-text-center"
|
||||||
[title]="'<span class=\'uk-flex uk-flex-middle\'>Deposit your research <span class=\'material-icons uk-margin-small-left\'>east</span></span>'"
|
[title]="'<span class=\'uk-flex uk-flex-middle\'>Deposit your research <span class=\'material-icons uk-margin-small-left\'>east</span></span>'"
|
||||||
[attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-portal uk-text-small uk-padding-small'">
|
[attr.uk-tooltip]="'pos: right; cls: uk-active landing-action-tooltip landing-action-tooltip-portal uk-text-small uk-padding-small'">
|
||||||
<a [queryParams]="routerHelper.createQueryParams(['id','type','linkTo'],[projectId, 'project','result'])"
|
<a routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how">
|
||||||
routerLinkActive="router-link-active" routerLink="/participate/deposit/learn-how">
|
|
||||||
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
<span class="uk-icon-button uk-icon landing-action-button landing-action-button-portal">
|
||||||
<icon name="upload" visuallyHidden="upload"></icon>
|
<icon name="upload" visuallyHidden="upload"></icon>
|
||||||
</span>
|
</span>
|
||||||
|
@ -192,7 +191,7 @@
|
||||||
<span class="uk-text-secondary">{{projectInfo.status}}</span>
|
<span class="uk-text-secondary">{{projectInfo.status}}</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="projectInfo.startDate || projectInfo.endDate" class="uk-width-2-5@m uk-width-1-2@s uk-margin-bottom">
|
<div *ngIf="projectInfo.startDate || projectInfo.endDate" class="uk-width-large uk-margin-bottom">
|
||||||
<progress *ngIf="projectInfo.startDate && projectInfo.endDate"
|
<progress *ngIf="projectInfo.startDate && projectInfo.endDate"
|
||||||
class="uk-progress uk-box-shadow-inner uk-margin-small-top uk-margin-small-bottom"
|
class="uk-progress uk-box-shadow-inner uk-margin-small-top uk-margin-small-bottom"
|
||||||
[value]="(projectInfo.currentDate > projectInfo.startDate ? projectInfo.currentDate-projectInfo.startDate : 0)"
|
[value]="(projectInfo.currentDate > projectInfo.startDate ? projectInfo.currentDate-projectInfo.startDate : 0)"
|
||||||
|
@ -255,7 +254,7 @@
|
||||||
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
<my-tab *ngIf="fetchOrps.searchUtils.totalResults > 0"
|
||||||
[tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults"
|
[tabTitle]="'Other Research'" [tabNumber]="fetchOrps.searchUtils.totalResults"
|
||||||
[tabId]="'other'"></my-tab>
|
[tabId]="'other'"></my-tab>
|
||||||
<my-tab [tabTitle]="'Dmps'" [tabNumber]="fetchDmps.searchUtils.totalResults" [tabId]="'dmps'"></my-tab>
|
<my-tab [tabTitle]="'Dmps'" [tabNumber]="fetchDmps.searchUtils.totalResults > 0 ? fetchDmps.searchUtils.totalResults : ''" [tabId]="'dmps'"></my-tab>
|
||||||
<my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
<my-tab *ngIf="(fetchPublications.searchUtils.totalResults > 0 || fetchDatasets.searchUtils.totalResults > 0
|
||||||
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
|| fetchSoftware.searchUtils.totalResults > 0 || fetchOrps.searchUtils.totalResults > 0)"
|
||||||
[tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'" [active]="false"></my-tab>
|
[tabTitle]="'Statistics'" customClass="statistics" [tabId]="'statistics'" [active]="false"></my-tab>
|
||||||
|
@ -642,7 +641,7 @@
|
||||||
fetchDatasets.searchUtils.totalResults == 0 &&
|
fetchDatasets.searchUtils.totalResults == 0 &&
|
||||||
fetchSoftware.searchUtils.totalResults == 0 &&
|
fetchSoftware.searchUtils.totalResults == 0 &&
|
||||||
fetchOrps.searchUtils.totalResults == 0)"
|
fetchOrps.searchUtils.totalResults == 0)"
|
||||||
class="uk-text-meta">
|
class="uk-text-meta uk-margin-medium-top uk-text-center">
|
||||||
No reports available
|
No reports available
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue