-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* last commit * latest check * new db migrations and updated passport * login with drupal support * add the rest, and lint * GUI changes * not sure how does res reach here * that cache again * cleanup * remove code duplication * fix lint * adding error handling * pass the error handling on * fixed constants.js * tmp disable travis cache for node_modules * Update passport.js * update to latest * adding test special case * no yoda notation for me T_T * Update main_routes.test.js * dddd * update test-user and raise timeout * update test-user and omit some test logic to adjust to new bizlogic of login * changed the test user no need for mock anymore * remove underscore * updated imported csv to new members_camp * commit changes * d * fixed the validated sign * some fixes, adding the EVENT_ID * removed the campDetails from all places. fixed one insert and update. update on new camp the event_id * fix for eslint * fixes * fixed for eslint * local commit * added enabled status * refine * Merge branch 'master' of https://github.com/Midburn/Spark * camps route fix * Revert "camps route fix" This reverts commit d926484. * basic members implementation * bug fix * add member form * removed unnecessary function call * fixed several small issues, with getUserCamps functions, moving the functionality from API to the User model. * fixed several small issues, with getUserCamps functions, moving the functionality from API to the User model. * manually loaded api_camps_route * test * fix * sdfsadf * change activity time to multi select * lilach location fixes * improve contact person dropdown display * facebook link size fix * data validation * lint * Changed the API commands for join & join_deliver to work with the model commands. * fix lint issues * added option to remove approve new members * lint * fixed some bugs with getUserCamps and fix security issues. * ui fixes * commit passport + approve * ddd * changes * join camp is according to lang * FB link doesn't get too long * translation fixes * added approve join request btn * added email templates * comit local changes * changes of field names for members * typo fix * updated the join camp flow, and tested * lint shit * lint shit * fixes the join system, and several bug fix * lint shit * finalized the join flow several bug was removed. still having angular issue, need to be found. * removed junk * lint * fixes issues before production, also import bugs. * show contact information good * d * changes for lint * small issues * fixed the cancel user request fixed some small security issues with users removed automatic fetch from camps_v2 added language string for all status code. * lint shit * Introduced the camp __prototype to use for other camp types. fixed the camp_location_area * fixing all hebrew titles fixed who am i introduced the camp_type schema * lint shit * changes * fixes split issue * template api_gate * fixed the members add, for admin show all camps * lint * fixed mail delivery to join request * lint
- Loading branch information
Showing
6 changed files
with
152 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,33 @@ | ||
table.table.table-striped.table-hover | ||
thead | ||
tr | ||
th(ng-click='changeOrderBy("id")') # | ||
th(ng-click='changeOrderBy("name")')=t('camps:members.name') | ||
if userIs('admin') | ||
th(ng-click='changeOrderBy("email")')=t('camps:members.email') | ||
th(ng-click='changeOrderBy("phone")')=t('camps:members.phone') | ||
if userIs('admin') | ||
th(ng-click='changeOrderBy("status")')=t('camps:members.status') | ||
if userIs('admin') | ||
th(ng-click='changeOrderBy("hasTicket")')=t('camps:members.ticket_count') | ||
th(ng-click='changeOrderBy("earlyArrival")')=t('camps:members.early_arrival') | ||
tbody | ||
tr(ng-repeat="member in members | filter: searchMembers | orderBy: orderMembers") | ||
td {{member.user.user_id}} | ||
td {{[member.user.first_name, member.user.last_name].join(' ')}} | ||
if userIs('admin') | ||
td {{member.user.email}} | ||
td {{member.user.cell_phone}} | ||
if userIs('admin') | ||
td | ||
span.label(ng-class="member.status === 'approved' ? 'label-success':'label-default'") {{member.status}} | ||
if userIs('admin') | ||
td {{member.user.hasTicket}} | ||
td {{member.user.earlyArrival ? 'yes':'no'}} | ||
thead | ||
tr | ||
th(ng-click='changeOrderBy("id")') # | ||
th(ng-click='changeOrderBy("name")')=t('camps:members.name') | ||
th(ng-click='changeOrderBy("email")')=t('camps:members.email') | ||
th(ng-click='changeOrderBy("phone")')=t('camps:members.phone') | ||
th(ng-click='changeOrderBy("status")')=t('camps:members.status') | ||
th(ng-click='changeOrderBy("hasTicket")')=t('camps:members.ticket_count') | ||
//- th(ng-click='changeOrderBy("earlyArrival")')=t('camps:members.early_arrival') | ||
th()=t('camps:members.actions') | ||
tbody | ||
tr(ng-repeat="member in members | filter: searchMembers | orderBy: orderMembers") | ||
td {{member.user_id}} | ||
td {{member.name}} | ||
td {{member.email}} | ||
td {{member.cell_phone}} | ||
td {{member.member_status_i18n}} | ||
td {{member.hasTicket}} | ||
//- td {{member.earlyArrival ? 'yes':'no'}} | ||
td | ||
a.cursor-p(ng-click='updateUser(member.name, member.user_id, "reject")', ng-if="member.can_reject") | ||
span(class='glyphicon glyphicon-remove') | ||
span(class='sr-only' aria-hidden='false') Reject user | ||
a.cursor-p(ng-click='updateUser(member.name, member.user_id, "approve")', ng-if="member.can_approve") | ||
span(class='glyphicon glyphicon-ok') | ||
span(class='sr-only' aria-hidden='false') Approve user | ||
a.cursor-p(ng-click='updateUser(member.name, member.user_id, "manager")', ng-if="member.can_approve_mgr") | ||
span(class='glyphicon glyphicon-king') | ||
span(class='sr-only' aria-hidden='false') Approve user as manager | ||
a.cursor-p(ng-click='updateUser(member.name, member.user_id, "remove")', ng-if="member.can_remove") | ||
span(class='glyphicon glyphicon-remove') | ||
span(class='sr-only' aria-hidden='false') Remove user |