Warning message for unimplemented UI features

pull/338/head
Josh Mandel 2013-05-22 22:41:35 -07:00
parent 25d75a1b30
commit c46095b6a3
1 changed files with 10 additions and 0 deletions

View File

@ -322,6 +322,8 @@ var AppRouter = Backbone.Router.extend({
"admin/scope/:id":"editScope",
"user/approved":"approvedSites",
"user/tokens":"notImplemented",
"user/profile":"notImplemented",
"": "root"
@ -533,6 +535,14 @@ var AppRouter = Backbone.Router.extend({
},
notImplemented:function(){
this.breadCrumbView.collection.reset();
this.breadCrumbView.collection.add([
{text:"Home", href:""}
]);
$('#content').html("<h2>Not implemented yet.</h2>");
},
blackList:function() {
this.breadCrumbView.collection.reset();
this.breadCrumbView.collection.add([