aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-06-28 16:56:26 +0100
committerStruan Donald <struan@exo.org.uk>2013-06-28 16:56:26 +0100
commite159dbbc0204c2c66418b737499b07595f068dcc (patch)
tree55b564cd20b7ca07f9bcbc3647df454da67d22f6 /www/js
parent68e4f16fdd95d71816fad7fb312e944c1bbbe046 (diff)
add some instructional text to the name request page
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/submit.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/js/views/submit.js b/www/js/views/submit.js
index 1dad90d..63864db 100644
--- a/www/js/views/submit.js
+++ b/www/js/views/submit.js
@@ -4,6 +4,7 @@
template: 'submit',
id: 'submit-page',
prev: 'details',
+ nopassword: 0,
events: {
'pagehide': 'destroy',
@@ -23,7 +24,7 @@
}
template = _.template( tpl.get( this.template ) );
if ( this.model ) {
- this.$el.html(template({ model: this.model.toJSON(), user: FMS.currentUser.toJSON() }));
+ this.$el.html(template({ model: this.model.toJSON(), user: FMS.currentUser.toJSON(), nopassword: this.nopassword }));
} else {
this.$el.html(template());
}
@@ -180,6 +181,7 @@
template: 'submit_name',
id: 'submit-name-page',
prev: 'submit-email',
+ nopassword: 1,
events: {
'pagehide': 'destroy',
@@ -251,7 +253,8 @@
SubmitNameSetPasswordView: FMS.SubmitNameView.extend({
template: 'submit_name',
id: 'submit-name-page-set-password',
- prev: 'submit-set-password'
+ prev: 'submit-set-password',
+ nopassword: 0
})
});
})(FMS, Backbone, _, $);