Project

General

Profile

« Previous | Next » 

Revision 55201

[newlinking|Library]

Start implementing linking according to the mocks
use 2 basic arrays for the elements used (sources, results)
use the same component 'claimResults' for results and project
use the same component 'selectedResults' for search results (research results and projects)
remove autocomplete for projects

View differences:

selectedProjects.component.ts
7 7
    template: `
8 8

  
9 9

  
10
                <div class="uk-placeholder uk-margin-top" >
10
                <div class="" >
11 11

  
12 12
                  <div>
13
                    <h5 class=" uk-margin uk-h5 uk-text-primary" *ngIf="projects.length > 0 "> Selected Projects ({{projects.length | number}}) </h5>
13
                    <!--h5 class=" uk-margin uk-h5 uk-text-primary" *ngIf="projects.length > 0 "> Selected Projects ({{projects.length | number}}) </h5-->
14 14
                    <ul class="uk-list uk-list-divider">
15 15
                      <li class="list-group-item" *ngFor="let project of projects">
16 16
                        <a [queryParams]="routerHelper.createQueryParam('projectId',project.projectId)"   routerLinkActive="router-link-active" routerLink="/search/project" >{{project.funderName}} | {{project.projectName}} {{(project.projectAcronym)?'('+project.projectAcronym+')':''}} <!--[{{project.startDate}} - {{project.endDate}}]--></a>
......
22 22
                      </li>
23 23
                    </ul>
24 24
                  </div>
25
                <div *ngIf="projects.length == 0 " class="uk-alert no-selected-message uk-text-center">You have not selected any projects</div>
25
                <!--div *ngIf="projects.length == 0 " class="uk-alert no-selected-message uk-text-center">You have not selected any projects</div-->
26 26
              </div>
27 27

  
28 28

  

Also available in: Unified diff