Revision 60977
Added by Konstantina Galouni almost 3 years ago
add-projects.component.html | ||
---|---|---|
71 | 71 |
<div class="uk-flex uk-flex-middle uk-flex-center uk-flex-column uk-height-1-1"> |
72 | 72 |
<div class="uk-padding-small uk-padding-remove-horizontal"> |
73 | 73 |
|
74 |
<div [class.hide-element]="!getCommunityProjectId(result)">
|
|
74 |
<div [class.hide-element]="!getCommunityProject(result)"> |
|
75 | 75 |
<a (click)="removeProject(result)" class="uk-button action uk-flex uk-flex-middle"> |
76 | 76 |
<icon name="remove_circle_outline"></icon> |
77 | 77 |
<span class="uk-margin-small-left">Remove project</span> |
78 | 78 |
</a> |
79 | 79 |
</div> |
80 | 80 |
|
81 |
<div [class.hide-element]="getCommunityProjectId(result)">
|
|
81 |
<div [class.hide-element]="getCommunityProject(result)"> |
|
82 | 82 |
<a (click)="addProject(result)" class="uk-button action uk-flex uk-flex-middle" |
83 | 83 |
uk-tooltip="title:<div class='uk-padding-small'><div class='uk-margin-bottom uk-text-bold'>Add new project </div><div>Newly added projects will be linked to your community on the next run of our algorithms.</div></div>"> |
84 | 84 |
<div class="uk-text-success"> |
Also available in: Unified diff
[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().