diff --git a/cms/static/js/views/section.js b/cms/static/js/views/section.js index 9c29e51ddc..622249414d 100644 --- a/cms/static/js/views/section.js +++ b/cms/static/js/views/section.js @@ -1,9 +1,8 @@ CMS.Views.SectionShow = Backbone.View.extend({ - template: _.template('<%= name %>'), + template: _.template('" class="section-name-span"><%= name %>'), render: function() { var attrs = { - name: this.model.escape('name'), - tooltip: gettext("Edit this section's name") + name: this.model.escape('name') }; this.$el.html(this.template(attrs)); this.delegateEvents(); @@ -25,9 +24,7 @@ CMS.Views.SectionShow = Backbone.View.extend({ CMS.Views.SectionEdit = Backbone.View.extend({ render: function() { var attrs = { - name: this.model.escape('name'), - save: gettext("Save"), - cancel: gettext("Cancel") + name: this.model.escape('name') }; this.$el.html(this.template(attrs)); this.delegateEvents(); diff --git a/cms/templates/js/section-name-edit.underscore b/cms/templates/js/section-name-edit.underscore index 2a6295d690..cfbd64fffe 100644 --- a/cms/templates/js/section-name-edit.underscore +++ b/cms/templates/js/section-name-edit.underscore @@ -1,5 +1,5 @@