Konstantina Galouni
2715db7365
1. i18n/: Added properties "GENERAL.ACTIONS.LOAD-LESS" and "GENERAL.ACTIONS.NO-MORE-AVAILABLE". 2. dashboard.component.html: Added aria-label on each <mat-tab> | Added on <mat-tab-group> bindings for [selectedIndex] and (selectedTabChange), to define the active tab. 3. dashboard.component.ts: Added field currentType: string = "recent"; | Set currentType by url params | Added method get indexFromCurrentType(), to return the active tab index. 4. drafts.component.html & recent-edited-activity.component.html & recent-edited-dataset-activity.component.html & recent-edited-dmp-activity.component.html: Added button "LOAD-LESS" and message "NO-MORE-AVAILABLE" to the end of the list. 5. drafts.component.ts & recent-edited-activity.component.ts & recent-edited-dataset-activity.component.ts & recent-edited-dmp-activity.component.ts: a. Added fields @ViewChild("...") resultsContainer, offsetLess: number = 0, hasMoreResults:boolean = true, page: number = 1 and @Input() isActive: boolean = false. b. Read url params, set offsets and query filters and update url. c. Renamed "loadMore()" to "loadNextOrPrevious()" and added parameter more: boolean = true. |
||
---|---|---|
.. | ||
e2e | ||
src | ||
.browserslistrc | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
Dockerfile.CI | ||
README.md | ||
angular.json | ||
mime.types | ||
nginx-custom.conf | ||
nginx.conf | ||
nginx.conf.CI | ||
package.json | ||
protractor.conf.js | ||
start_nginx.sh | ||
tsconfig.json | ||
tslint.json |
README.md
DmpFrontend2
This project was generated with Angular CLI version 1.7.4.
Development server
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Running unit tests
Run ng test
to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e
to execute the end-to-end tests via Protractor.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.