Project

General

Profile

« Previous | Next » 

Revision 52424

1. Landing pages: Rename 'Other Metrics' to 'Metrics' in appbox.
2. Landing pages: In tabs which need extra query, do not show 'view all' option until status is DONE (not as soon as totalResults > 0 -> set by count query).

View differences:

project.component.html
90 90
                   <div class="uk-accordion-content">
91 91
                     <errorMessages [status]="[fetchPublications.searchUtils.status]" [type]="'publications'" tab_error_class=true></errorMessages>
92 92

  
93
                     <div *ngIf="fetchPublications.searchUtils.totalResults > 0">
93
                     <div *ngIf="fetchPublications.searchUtils.status == errorCodes.DONE">
94 94
                         <div class = "uk-text-right" *ngIf = "fetchPublications.searchUtils.totalResults > 10" >
95 95
                             <a  [queryParams]="routerHelper.createQueryParams(['project', 'pr'], [projectId, 'and'])"
96 96
                                 routerLinkActive="router-link-active" [routerLink]="linkToSearchPublications" class="uk-button uk-button-text">
......
115 115
                    <div class="uk-accordion-content">
116 116
                      <errorMessages [status]="[fetchDatasets.searchUtils.status]" [type]="'research data'" tab_error_class=true></errorMessages>
117 117

  
118
                      <div *ngIf="fetchDatasets.searchUtils.totalResults > 0">
118
                      <div *ngIf="fetchDatasets.searchUtils.status == errorCodes.DONE">
119 119

  
120 120
                          <div class = "uk-text-right" *ngIf = "fetchDatasets.searchUtils.totalResults > 10">
121 121
                              <a [queryParams]="routerHelper.createQueryParams(['project', 'pr'], [projectId, 'and'])"
......
141 141
                     <div class="uk-accordion-content">
142 142
                       <errorMessages [status]="[fetchSoftware.searchUtils.status]" [type]="'software'" tab_error_class=true></errorMessages>
143 143

  
144
                       <div *ngIf="fetchSoftware.searchUtils.totalResults > 0">
144
                       <div *ngIf="fetchSoftware.searchUtils.status == errorCodes.DONE">
145 145

  
146 146
                           <div class = "uk-text-right" *ngIf = "fetchSoftware.searchUtils.totalResults > 10">
147 147
                               <a [queryParams]="routerHelper.createQueryParams(['project', 'pr'], [projectId, 'and'])"
......
164 164
                   <div class="uk-accordion-content">
165 165
                     <errorMessages [status]="[fetchPublications.searchUtils.status, fetchDatasets.searchUtils.status]" [type]="'statistics'" tab_error_class=true></errorMessages>
166 166

  
167
                     <div *ngIf="statsClicked && (fetchPublications.searchUtils.totalResults != 0 || fetchDatasets.searchUtils.totalResults != 0)">
167
                     <div *ngIf="statsClicked && (fetchPublications.searchUtils.status == errorCodes.DONE || fetchDatasets.searchUtils.status == errorCodes.DONE)">
168 168

  
169 169
                         <div>
170 170
                           <p class="uk-text-bold">Research Results</p>

Also available in: Unified diff