activist changes
activist changes

packages/events/public/controllers/events.js
1. Fix activist query

packages/activists/public/views/digest.html
1. Fix activists route
activist changes

public/system/services/global.js
1. Introduced method 'isOwner' to check if some object belong to current user

public/system/system.js
1. Added to root scope method 'isOwner'

packages/activists/public/controllers/activists.js
1. Changed variable 'canEdit' value resolving
2. Added variable 'isOwner'

packages/activists/public/views/view.html
1. Used variable 'isOwner' for label resolving

packages/activists/public/routes/activists.js
1. Added state 'activists-view-self' to view current user profile

public/auth/controllers/auth.js
1. Used state 'activists-view-self' as next state after login or register

public/system/views/header.html
1. Fixed profile menu item route
activist changes

label change
please db.seed to pickup changes: split name to name(aka firstName) and lastName; introduce displayName; hide lastName; drop obsolete leaders package;
event changes

1. Reworked add/edit event template
2. Added directive 'cgDropdown'
3. Introduced directive 'cgDatepicker'
Merge branch 'ui-events'
getter for activist img url;
bind to 0.0.0.0;
db.seed available in prod too; run manually from jenkins once needed.
added activist data to variable 'global'
organisations; xeditable(do npm install once);
only owner can remove organisation;
create event

template changes
datapicker and timepicker directives changes
event statuses

added event status enum to model
added factory to store event statuses and get status label
used event statuses factory
Merge remote-tracking branch 'origin/master'
remove unused lib 'bootstrap-datapicker'
renamed 'organisation' to 'organization'
organization reference in event model