Move profile parts of the rooms page and the config content into a new page: settings

This commit is contained in:
Emmanuel ROHEE 2014-08-22 17:11:39 +02:00
parent dde50d4245
commit aaf623fa53
8 changed files with 237 additions and 201 deletions

View file

@ -20,6 +20,7 @@ var matrixWebClient = angular.module('matrixWebClient', [
'LoginController',
'RoomController',
'RoomsController',
'SettingsController',
'UserController',
'matrixService',
'eventStreamService',
@ -48,6 +49,10 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
templateUrl: 'rooms/rooms.html',
controller: 'RoomsController'
}).
when('/settings', {
templateUrl: 'settings/settings.html',
controller: 'SettingsController'
}).
when('/user/:user_matrix_id', {
templateUrl: 'user/user.html',
controller: 'UserController'