From b51aa312310e8f3f624fc963b241970ff0bef3ba Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 22 Jul 2013 12:54:13 -0400 Subject: [PATCH 1/2] PDF uploader dialog refers to "PDF" instead of "asset" --- cms/static/js/views/textbook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/static/js/views/textbook.js b/cms/static/js/views/textbook.js index 74eaae8601..f666143c0a 100644 --- a/cms/static/js/views/textbook.js +++ b/cms/static/js/views/textbook.js @@ -241,7 +241,7 @@ CMS.Views.EditChapter = Backbone.View.extend({ asset_path: this.$("input.chapter-asset-path").val() }); var msg = new CMS.Models.FileUpload({ - title: _.template(gettext("Upload a new asset to “<%= name %>”"), + title: _.template(gettext("Upload a new PDF to “<%= name %>”"), {name: section.escape('name')}), message: "Files must be in PDF format." }); From ca2bb0e8506b54852b86c3c49746f7e530464bc7 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Mon, 22 Jul 2013 12:54:31 -0400 Subject: [PATCH 2/2] PDF Upload button now refers to "PDF" rather than "asset" --- cms/templates/js/edit-chapter.underscore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/templates/js/edit-chapter.underscore b/cms/templates/js/edit-chapter.underscore index 0f9a91e3e0..34f42daa64 100644 --- a/cms/templates/js/edit-chapter.underscore +++ b/cms/templates/js/edit-chapter.underscore @@ -9,6 +9,6 @@ " value="<%= asset_path %>" type="text"> <%= gettext("upload a PDF file or provide the path to a Studio asset file") %> - + <%= gettext("delete chapter") %>