Revision 59297
Added by Konstantina Galouni over 3 years ago
divIds.component.html | ||
---|---|---|
8 | 8 |
<form target="BSFormPanel_Admin_1" class="search"> |
9 | 9 |
<!-- <input #inputstring (keyup.enter)="filterBySearch(inputstring.value)" placeholder="Class name..." type="text" class="uk-input uk-width-medium"/> |
10 | 10 |
<button class="uk-button" type="submit">Search</button> --> |
11 |
<input type="text" class="uk-input uk-width-medium" placeholder="Class name..." aria-describedby="sizing-addon2" [(ngModel)]="keyword" name="keyword" > |
|
11 |
<input type="text" class="uk-input uk-width-medium" placeholder="Class name, portal type..." aria-describedby="sizing-addon2" [(ngModel)]="keyword" name="keyword" >
|
|
12 | 12 |
<button (click)="filterBySearch(keyword)" type="submit" class=" uk-button"> |
13 | 13 |
<span class="uk-icon"> |
14 | 14 |
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="search" ratio="1"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"></circle><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"></path></svg> |
... | ... | |
58 | 58 |
<th>Name</th> |
59 | 59 |
<!-- <th>Community</th> --> |
60 | 60 |
<th>Page</th> |
61 |
<th>Portal Type</th> |
|
61 | 62 |
<th>Actions</th> |
62 | 63 |
</tr> |
63 | 64 |
</thead> |
... | ... | |
79 | 80 |
</div> |
80 | 81 |
</td> |
81 | 82 |
<td> |
83 |
<div class="portalType" href="#">{{check.divId.portalType}}</div> |
|
84 |
</td> |
|
85 |
<td> |
|
82 | 86 |
<div class="actions" href="#"> |
83 | 87 |
<input title="Edit" src="assets/imgs/icn_edit.png" class="edit uk-margin-small-right" type="image" (click)="editDivId(i)"> |
84 | 88 |
<input title="Delete" src="assets/imgs/icn_trash.png" class="delete" type="image" (click)="confirmDeleteDivId(check.divId._id)"> |
Also available in: Unified diff
[use-UoaAdminToolsLibrary | Admin]
1. package.json: Upgrade version of @types/nodes.
2. app.component.html: [Bug fix] Remove "dark" property.
3. app.component.ts & dashboard.component.ts: Call method "ConnectHelper.setPortalTypeFromPid()" to set portal type according to pid.
4. community.ts: Add property "type".
5. div-help-content.ts & page-help-content.ts & page-help-content-form.component.ts & page-help-contents.component.html & div-help-content-form.component.ts: Property "community" renamed to "portal".
6. divId.ts & page.ts & page-form.component.ts & divId-form.component.ts: Removed properties "openaire", "connect", "community" and added "portalType".
7. communities.component.html: Add column "type" | In <community-form> add input "update" set to true when opening update modal.
8. communities.component.ts: In "editCommunity()" disable "type" in form | In "filterCommunities()" search by type too.
9. community-form.component.html: Add select for portal type | Replace word community with portal.
10. community-form.component.ts: Add input property "update" set to false | "type" added in form.
11. div-help-contents.component.ts & edit-div-help-content.component.ts & new-div-help-content.component.ts &
edit-page-help-content.component.ts & new-page-help-content.component.ts & page-help-contents.component.ts:
Redirect when properties.adminToolsPortalType != page.portalType.
12. page-form.component.html & divId-form.component.html: Checkboxes became radio buttons for portal type selection.
13. pages.component.html: Add "portalType" column when no specific community is selected.
14. divIds.component.html: Add "portalType" column.
15. pages.component.ts:
a. In "editPage()" disable "portalType" in form and in "newPage()" and "pageUpdateConfirmed()" (before updating) enable it.
b. In "filterPages()" search by portal type too.
16. divIds.component.ts:
a. In "editDivId()" disable "portalType" in form and in "newDivId()" and "divIdUpdateConfirmed()" (before updating) enable it.
b. In "filterDivIds()" search by portalType too.
17. help-content.service.ts:
a. Rename "community" parameters to "portal".
b. In API paths replace "community" with "{{properties.adminToolsPortalType}}" (in "saveCommunity() and "updateCommunity()" use "community.type").
18. environment.ts & environment.beta.ts & environment.prod.ts: Add property: adminToolsPortalType: "community".