From 82432eaa04d77497c3a44dfc836eefd16c11eab4 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Thu, 2 Jun 2016 16:06:12 +0200 Subject: [PATCH] basic acl checks --- angular_app/events-list.html | 14 ++++++++------ angular_app/index.html | 3 +-- angular_app/js/app.js | 1 - eventman_server.py | 32 ++++++++++++++++++++++---------- 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/angular_app/events-list.html b/angular_app/events-list.html index 8fd830e..aae7581 100644 --- a/angular_app/events-list.html +++ b/angular_app/events-list.html @@ -30,22 +30,24 @@ {{'Event' | translate}} - {{'Attendees / Registered' | translate}} - {{'Delete' | translate}} + {{'Attendees / Registered' | translate}} + {{'Actions' | translate}} - {{event.title}} + {{event.title}}

{{'Begins:' | translate}} {{event['begin-date'] | date:'fullDate'}} {{event['begin-time'] | date:'HH:mm'}}
{{'Ends:' | translate}} {{event['end-date'] | date:'fullDate' }} {{event['end-time'] | date:'HH:mm'}}

- +

{{attendeesNr}} / {{event.persons.length || 0}} ({{((attendeesNr / (event.persons.length || 0) * 100) || 0).toFixed()}}%)

- - + + + + diff --git a/angular_app/index.html b/angular_app/index.html index 4df189a..21c2fd2 100644 --- a/angular_app/index.html +++ b/angular_app/index.html @@ -52,8 +52,7 @@