blob: bced4e11a280881297afe3055eb760e272b5cfda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
var BlueprintNotice = View.extend(ToggleableView.prototype).extend({
el: "#blueprintNotice",
initialize: function(opt){
this.parent = opt.parent
this.$notice = this.$(".notice")
},
notice: function(msg){
this.$notice.html(msg)
},
showCreateProjectNotice: function(){
this.notice("<a href='/project/blueprint/" + this.parent.data.slug +
"'>Start a new project</a> with this blueprint.")
this.show()
},
})
|