-
diff --git a/angular_app/event-main.html b/angular_app/event-main.html
index 6440884..f112ed9 100644
--- a/angular_app/event-main.html
+++ b/angular_app/event-main.html
@@ -1,7 +1,7 @@
diff --git a/angular_app/event-info.html b/angular_app/event-tickets.html
similarity index 95%
rename from angular_app/event-info.html
rename to angular_app/event-tickets.html
index 1fccf91..5505142 100644
--- a/angular_app/event-info.html
+++ b/angular_app/event-tickets.html
@@ -52,7 +52,7 @@
{{$index+1}} |
- {{person.name}} {{person.surname}} <{{person.email}}>
+ {{person.name}} {{person.surname}}{{person.name}} {{person.surname}} <{{person.email}}>
{{person.job_title}} @ {{person.company}}
|
diff --git a/angular_app/events-list.html b/angular_app/events-list.html
index d1a740f..0edce06 100644
--- a/angular_app/events-list.html
+++ b/angular_app/events-list.html
@@ -46,7 +46,8 @@
|
-
+
+
|
diff --git a/angular_app/js/app.js b/angular_app/js/app.js
index d188986..c81e2c2 100644
--- a/angular_app/js/app.js
+++ b/angular_app/js/app.js
@@ -121,9 +121,9 @@ eventManApp.config(['$stateProvider', '$urlRouterProvider',
templateUrl: 'event-edit.html',
controller: 'EventDetailsCtrl'
})
- .state('event.info', {
- url: '/:id',
- templateUrl: 'event-info.html',
+ .state('event.tickets', {
+ url: '/:id/tickets',
+ templateUrl: 'event-tickets.html',
controller: 'EventDetailsCtrl'
})
.state('event.ticket', {
diff --git a/angular_app/js/controllers.js b/angular_app/js/controllers.js
index 3888c87..742de12 100644
--- a/angular_app/js/controllers.js
+++ b/angular_app/js/controllers.js
@@ -121,7 +121,7 @@ eventManControllers.controller('EventDetailsCtrl', ['$scope', '$state', 'Event',
);
});
- if ($state.is('event.info')) {
+ if ($state.is('event.tickets')) {
$scope.allPersons = Person.all();
// Handle WebSocket connection used to update the list of persons.
diff --git a/angular_app/person-info.html b/angular_app/person-info.html
index f1579c1..5328193 100644
--- a/angular_app/person-info.html
+++ b/angular_app/person-info.html
@@ -34,7 +34,7 @@
- {{event.title}} |
+ {{event.title}} |
|
diff --git a/eventman_server.py b/eventman_server.py
index 33ad601..858ccf6 100755
--- a/eventman_server.py
+++ b/eventman_server.py
@@ -677,7 +677,7 @@ class EventsHandler(CollectionHandler):
ret = {'action': 'update', 'person_id': person_id, 'person': new_person_data, 'uuid': uuid}
if old_person_data != new_person_data:
- self.send_ws_message('event/%s/updates' % id_, json.dumps(ret))
+ self.send_ws_message('event/%s/tickets/updates' % id_, json.dumps(ret))
return ret
def handle_put_tickets(self, id_, person_id, data):
@@ -966,7 +966,7 @@ def run():
db_connector.add('settings',
{'setting': 'server_cookie_secret', 'cookie_secret': cookie_secret})
- _ws_handler = (r"/ws/+event/+(?P[\w\d_-]+)/+updates/?", WebSocketEventUpdatesHandler)
+ _ws_handler = (r"/ws/+event/+(?P[\w\d_-]+)/+tickets/+updates/?", WebSocketEventUpdatesHandler)
_persons_path = r"/persons/?(?P[\w\d_-]+)?/?(?P[\w\d_-]+)?/?(?P[\w\d_-]+)?"
_events_path = r"/events/?(?P[\w\d_-]+)?/?(?P[\w\d_-]+)?/?(?P[\w\d_-]+)?"
_users_path = r"/users/?(?P[\w\d_-]+)?/?(?P[\w\d_-]+)?/?(?P[\w\d_-]+)?"