Revision 60977
Added by Konstantina Galouni almost 3 years ago
add-content-providers.component.html | ||
---|---|---|
41 | 41 |
<div class="uk-flex uk-flex-middle uk-flex-center uk-flex-column uk-height-1-1"> |
42 | 42 |
<div class="uk-padding-small uk-padding-remove-horizontal"> |
43 | 43 |
|
44 |
<div [class.hide-element]="!getCommunityContentProviderId(result)">
|
|
44 |
<div [class.hide-element]="!getCommunityContentProvider(result)"> |
|
45 | 45 |
<a (click)="removeContentProvider(result)" class="uk-button action uk-flex uk-flex-middle"> |
46 | 46 |
<icon name="remove_circle_outline"></icon> |
47 | 47 |
<span class="uk-margin-small-left">Remove content provider</span> |
48 | 48 |
</a> |
49 | 49 |
</div> |
50 | 50 |
|
51 |
<div [class.hide-element]="getCommunityContentProviderId(result)">
|
|
51 |
<div [class.hide-element]="getCommunityContentProvider(result)"> |
|
52 | 52 |
<a (click)="addContentProvider(result)" class="uk-button action uk-flex uk-flex-middle" |
53 | 53 |
uk-tooltip="title:<div class='uk-padding-small'><div class='uk-margin-bottom uk-text-bold'>Add new content provider </div><div>Newly added content providers will be linked to your community on the next run of our algorithms.</div></div>"> |
54 | 54 |
<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().