Commit Graph

41 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou cc5d3cbdb3 Enable invite button for byInvitation commmunities with a link to admin portal. 2023-10-11 12:55:11 +03:00
Konstantinos Triantafyllou 64389d869c Update title in invite page. Subscribe -> join 2022-09-27 11:46:23 +03:00
Konstantinos Triantafyllou 9044a06cba Add method buildCss in server.ts for customization. Fix invite and subscribe buttons. 2022-07-21 15:01:31 +03:00
Konstantinos Triantafyllou 0f3f70c97a Change invite users page base on new UI 2022-07-06 19:27:42 +03:00
Konstantina Galouni 4c9f17e792 [Connect & Library | new-theme]: Redesigned invite and join buttons | Added rule .uk-light .custom-external::after | Updated css for .multi-line-ellipsis - now supports inner elements.
1. invite.component.html:
   a. Redesigned invite button according to the new mocks.
   b. Button of invite is a route to invite page (removed dropdown for quick invitation).
2. subscribe.component.ts:
   a. Redesigned join (subscribe) button according to the new mocks.
   b. Subscribe renamed to Join/Leave and Member.
3 subscribe.module.ts: Imported IconsModule.
4. app.component.ts: Renamed id="subscribeAndInviteBtn" to id="joinAndInviteBtn".
5. connect-custom.less: Added rules under .communityApp for #joinAndInviteBtn, #join, #invite, .member-button.
6. utils.css:
   a. Added rule .uk-light .custom-external::after to set color with light-color.
   b. Updated css for .multi-line-ellipsis - now supports inner elements (e.g. <p>) inside parent <p>.
2022-07-06 13:14:47 +03:00
k.triantafyllou c0a20f5908 [Connect | Trunk]: Add subscriber invite module from library
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@60969 d315682c-612b-4755-9ff5-7f18f6832af3
2021-04-23 16:27:37 +00:00
k.triantafyllou 213cbb0638 Revert ckeditor and fix it
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59314 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-31 11:28:21 +00:00
k.triantafyllou 92c3e73608 [Connect | Trunk]: Align message with from and to
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@59238 d315682c-612b-4755-9ff5-7f18f6832af3
2020-08-07 14:38:47 +00:00
konstantina.galouni 38216318f2 [Trunk | Connect]:
1. community.component.html: Remove 'communityBackground' class | Use class 'generalSearchForm' instead of 'publicationsSearchForm'.
2. contentPage.component.ts & curators.component.html & nationalBulletinsPage.component.ts & organizationsPage.component.ts & projectsPage.component.ts & subjects.component.ts & invite.component.html: 
	Remove 'communityBackground' class. 
3. shareInZenodo.component.html: Remove 'communityBackground' class | Remove 'uk-margin-top' from tag with class 'communityPanelBackground'.
4. user.component.ts: Remove 'communityBackground' class | Move 'uk-margin-small-top' after section tag.
5. connect-custom.css: Add background css for '.communityApp .custom-main-content', '.generalSearchForm .subtitle' and '.generalSearchForm .title'.
6. customization.css: Remove css for '.communityBackground' (was added during connect redesign).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58648 d315682c-612b-4755-9ff5-7f18f6832af3
2020-05-07 17:09:08 +00:00
konstantina.galouni 960f9b7839 [Trunk | Connect]:
1. app-routing.module.ts: Add route '/subjects'.
2. app.component.ts: Group subscribe and invite buttons under id="subscribeAndInviteBtn" (keep distance between them alwayes the same) | uncomment menu item 'Subjects' in About.
3. app.module.ts: import 'SubscribeService' (singleton service to update everywhere subscriber status).
4. libUser.module.ts & subscribe.module.ts: remove import of 'SubscribeService' (singleton service to update everywhere subscriber status).
5. community.component.html: 
	a. Improve some checks
	b. In main tabs of the page (class main-tabs) add class 'uk-text-truncate' and remove class 'uk-width-3-4' (each tab has max-width)
	c. Add icon in 'Analytics' tab
	d. [Bug fix] In description, fix overflow and max height of box
6. community.component.ts: Add field '@ViewChild(SubscribeComponent) subscribeComponent: SubscribeComponent' to add some checks in html.
7. curators.component.html: Remove div with class 'image-front-topbar' | Update css for title | Add <breadcrumbs> | Add user icon for each curator.
8. curators.component.ts: Initialize breadcrumb | [Bug fix] In methods 'getPageContents()' and 'getDivContents()' use communityId (instead of 'connect').
9. curators.module.ts & organizationsPage.module.ts & inviteBasic.module.ts: import 'BreadcrumbsModule'.
10. organizationsPage.component.ts: Update css for title | Add <breadcrumbs> | Initialize breadcrumb.
11. subjects.component.ts, subjects.module.ts, subjects-routing.module.ts: Add page for Subjects.
12. invite.component.html: Add <breadcrumbs> in longView | Add icon in button 'Invite users'.
13. invite.component.ts: Initialize breadcrumb.
14. subscribe.component.ts:  
	a. Add icon in button "Subscribe"/ "Subscribed" 
	b. Add class 'uk-display-inline-block' in showNumbers (members) 
	c. Initialize and get subscriber status with new methods of service (initIsSubscribedToCommunity() & isSubscribed - BehaviorSubject instead of isSubscribedToCommunity())
15. connect-custom.css: Group css for #subscribeBtn, #inviteBtn into #subscribeAndInviteBtn | Add css for class 'user-circle-background' (background of user icon in curators).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58574 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-28 11:07:36 +00:00
konstantina.galouni 17e7eb2d7f [Trunk | Connect]: Connect redesing
1. app.component.ts: <subscribe> and <invite> components added (floating buttons on the right side of each page for communities).
2. community.component.html: 
3. community.component.ts:                   
        a. 'projectsCalculated' and 'contentProvidersCalculated' fields added, to calculate tootlip after both requests complete
        b. added methods for building tootips
        c. 'activeTab' set to 'summary'.
4. affiliations.component.html: minor phrasing changes (e.g. title).
5. curators.component.html: shortview changed.
6. results.component.ts: Title changed | 'View all' moved to the bottom.
7. customization.component.ts: Changed '--portal-main-color' from  '#4C9CD5' to '#4687E6' | Changed '--portal-dark-color' from '#24857F' to '#2D72D6'.
8. invite.component.html: shortview changed.
9. invite.component.ts: 'properties' field as input (get it is called from app.component).
10. invite.module.ts & inviteBasic.module.ts: InviteBasicModule created to declare InviteComponent without routing and login guard | InviteModule imports InviteBasicModule and adds routing and login guar$
11. subscribe.component.ts: Changes for subscribe button and members | 'properties' field as input (get it is called from app.component).
12. connect-custom.css: css for subscribe and invite buttons and for tooltip with 'community-page-tooltip' class.
13. customization.css: class 'communityBackground' added and css for 'subtitle' class inside 'communityBackground'.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@58549 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-24 16:38:35 +00:00
konstantina.galouni fb97379ab4 [Trunk | Connect]: Fix and add when missing: schema2jsonld, canonincal url, meta tags, piwik call.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56841 d315682c-612b-4755-9ff5-7f18f6832af3
2019-08-02 14:56:03 +00:00
argiro.kokogiannaki 7f8cf5e199 [Connect|Trunk]
pass communityId for myclaims page



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56757 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 16:01:38 +00:00
k.triantafyllou dd8011f5ff [Trunk|Connect]: 1. Home page: Change cards view. 2. Affiliations: Change view of cards, make logo take 100% of width.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56749 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-24 12:24:44 +00:00
argiro.kokogiannaki e405356778 [Connect|Trunk]
Deposit:
	theme/customization related issues (margins, titles)
	update routes inside the components

Organizations: remove margins

Invite: theme/customization related issues (margins, titles)
	get back drop down	

Customization:
	apply some css changes according to the above



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56737 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-23 15:14:27 +00:00
k.triantafyllou 84d0608a9d [Trunk|Connect]: 1. Add is route enabled in all routes except home page. 2. Delete dropdown from invite page. 3. Add help texts in all pages.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56645 d315682c-612b-4755-9ff5-7f18f6832af3
2019-07-22 09:19:34 +00:00
argiro.kokogiannaki 762c5cd506 [Connect|Trunk]
Community Page:
	update layout according to mocks




git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@56015 d315682c-612b-4755-9ff5-7f18f6832af3
2019-06-06 14:49:43 +00:00
argiro.kokogiannaki 11af7eed0f [Trunk]
Community Page: Change the layout 

Invite: change the short view to dropdown



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@55271 d315682c-612b-4755-9ff5-7f18f6832af3
2019-04-11 09:39:46 +00:00
argiro.kokogiannaki 5f0d09bc83 [Trunk]
Add checks when location or document is used.
Get environment from properties file instead of domain

Invite, Subscribe, Manage Buttons: Smaller buttons, smaller icons





git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54852 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-18 15:15:53 +00:00
konstantina.galouni 273aec27e0 invite.component: scroll into view when invitation button is clicked |
when invitation request completes, fill and show which mails sent successfully and which not | 
		  show proper success/failure messages in short view too.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54677 d315682c-612b-4755-9ff5-7f18f6832af3
2019-02-01 11:02:09 +00:00
sofia.baltzi 9a0a3d4eda Check for gaps in email's field form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54469 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-20 14:47:49 +00:00
sofia.baltzi ec583f577e Hide email instruction when error message appears
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54468 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-20 13:27:01 +00:00
sofia.baltzi 12f05d645f Change when messages appears
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54422 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-14 14:44:09 +00:00
sofia.baltzi 8ab5878a9c Move error messages under input field
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54411 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-14 14:10:51 +00:00
sofia.baltzi ec7bac2fff Clean code from comments
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54402 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-14 12:29:53 +00:00
sofia.baltzi 3d6d94b99c Clean code and change ps to note
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54262 d315682c-612b-4755-9ff5-7f18f6832af3
2018-12-10 12:51:55 +00:00
sofia.baltzi bb6a567681 Make from name required
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54063 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 14:28:12 +00:00
argiro.kokogiannaki 15a93413ac update beta properties
correct menu items for beta - don't add communityId parameter if doesn't exist
Community 
	add number of total zenodo communities (master + sub communities)
	show invite only for admins and managers
Invite:
	 html edit form  only for managers and admin, simple users can't change 
	route requires login
Index.html
	clean up



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54047 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-29 11:40:38 +00:00
sofia.baltzi 6eb317c739 Change css for the small invite form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53986 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-27 12:33:37 +00:00
sofia.baltzi d317a0bed7 Add error messages and change the order in buttons
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53979 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 16:43:58 +00:00
sofia.baltzi cbcd2beba5 Remove properties for sending email in invite form
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53971 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 15:24:05 +00:00
sofia.baltzi b3fbb00d8a Add/Fix form error messages and loading
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53970 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 14:35:12 +00:00
argiro.kokogiannaki 5729dfabd4 Zenodo communities:
add link to zenodo communities in community dashboard
	add link in the menu
	minor changes in zenodo page

Update content page

Invite:move  mini view to the right of the dashboard, minor layout changes


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53968 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 13:07:58 +00:00
sofia.baltzi 36c0812cab Fix router for inviteLink page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53966 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-26 12:18:47 +00:00
sofia.baltzi 55bcf14b29 Fix ngModel for recipients
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53942 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-23 14:55:50 +00:00
sofia.baltzi f79ea3b5e8 Fix small form for sending emails
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53939 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-23 13:58:09 +00:00
sofia.baltzi a02587529f Change email format
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53923 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-22 14:23:05 +00:00
sofia.baltzi ebed6e2b83 Check if input emails are valid and Send inviatation to multiple emails
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53748 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-14 15:05:51 +00:00
sofia.baltzi 0c27a2c17e Add ckeditor default paragraph
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53703 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-09 16:43:20 +00:00
sofia.baltzi 586ff0485e Add ckeditor
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53700 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-09 16:08:35 +00:00
sofia.baltzi 81407f0627 Add a first draft for invite page
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53695 d315682c-612b-4755-9ff5-7f18f6832af3
2018-11-09 15:46:15 +00:00