Project

General

Profile

« Previous | Next » 

Revision 60977

[new-UI | Admin]:
1. remove-projects.component.html: [Bug fix] When there is no openaireId or no (grantId and funder), show name of project without a link.
2. remove-content-providers.component.ts & remove-projects.component.ts: [Bug fix] In method for filtering by keyword, match all fields with search text.
3. add-content-providers.component.ts & add-projects.component.ts:
a. getCommunityProjectId() --> getCommunityProject() and getCommunityContentProviderId() --> getCommunityContentProvider().
b. [Bug fix] call getCommunityProject() and getCommunityContentProvider() in remove method, to find index and splice deleted project/ content provider.
4. add-content-providers.component.html & add-projects.component.html: Call updated getCommunityProject() and getCommunityContentProvider().

View differences:

remove-projects.component.html
73 73
                      <span *ngIf="!item.name && !item.acronym">[no title available]</span>
74 74
                      <span class="custom-external custom-icon space"></span>
75 75
                    </a>
76
                    <span *ngIf="!item.openaireId && !item.grantId && !item.funder">
76
                    <span *ngIf="!item.openaireId && !(item.grantId && item.funder)">
77 77
                      <span *ngIf="item.name">{{item.name}}</span>
78 78
                      <span *ngIf="item.name && item.acronym">(</span><span *ngIf="item.acronym">{{item.acronym}}</span><span *ngIf="item.name && item.acronym">)</span>
79 79
                      <span *ngIf="!item.name && !item.acronym">[no title available]</span>
......
113 113

  
114 114
    <modal-alert #AlertModalDeleteCommunity (alertOutput)="confirmedDeleteProject($event)"></modal-alert>
115 115
  </div>
116
</div>
116
</div>

Also available in: Unified diff