Warning message for unimplemented UI features
parent
25d75a1b30
commit
c46095b6a3
|
@ -322,6 +322,8 @@ var AppRouter = Backbone.Router.extend({
|
||||||
"admin/scope/:id":"editScope",
|
"admin/scope/:id":"editScope",
|
||||||
|
|
||||||
"user/approved":"approvedSites",
|
"user/approved":"approvedSites",
|
||||||
|
"user/tokens":"notImplemented",
|
||||||
|
"user/profile":"notImplemented",
|
||||||
|
|
||||||
"": "root"
|
"": "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() {
|
blackList:function() {
|
||||||
this.breadCrumbView.collection.reset();
|
this.breadCrumbView.collection.reset();
|
||||||
this.breadCrumbView.collection.add([
|
this.breadCrumbView.collection.add([
|
||||||
|
|
Loading…
Reference in New Issue