- - + diff --git a/cms/templates/js/metadata-string-entry.underscore b/cms/templates/js/metadata-string-entry.underscore index 538528afc2..d2946818b2 100644 --- a/cms/templates/js/metadata-string-entry.underscore +++ b/cms/templates/js/metadata-string-entry.underscore @@ -1,8 +1,8 @@
- <%= user.username %> + <%- user.username %> - "> - <%= user.email %> + "> + <%- user.email %>
@@ -29,19 +29,19 @@ <% for (var i=0; i < actions.length; i++) { %> <% var action = actions[i]; %> <% if (action.notoggle) { %> - <%= gettext("Promote another member to Admin to remove your admin rights") %> + <%- gettext("Promote another member to Admin to remove your admin rights") %> <% } else { %> - + <% var template = (action.direction === 'add') ? gettext("Add {role} Access") : gettext("Remove {role} Access"); %> - <%= viewHelpers.format(template, {role: action.label}) %> + <%- viewHelpers.format(template, {role: action.label}) %> <% } %> <% } %> --<%= gettext("EdX doesn't have a timed transcript for this video in Studio, but we found a transcript on YouTube. You can import the YouTube transcript or upload your own .srt transcript file.") %> +<%- gettext("EdX doesn't have a timed transcript for this video in Studio, but we found a transcript on YouTube. You can import the YouTube transcript or upload your own .srt transcript file.") %>
-<%= gettext("Error.") %> +<%- gettext("Error.") %>
-<%= gettext("EdX doesn\'t have a timed transcript for this video. Please upload an .srt file.") %> +<%- gettext("EdX doesn\'t have a timed transcript for this video. Please upload an .srt file.") %>
-<%= gettext("Error.") %> +<%- gettext("Error.") %>
- <%= gettext("The timed transcript for this video on edX is out of date, but YouTube has a current timed transcript for this video.") %> + <%- gettext("The timed transcript for this video on edX is out of date, but YouTube has a current timed transcript for this video.") %> - <%= gettext("Do you want to replace the edX transcript with the YouTube transcript?") %> + <%- gettext("Do you want to replace the edX transcript with the YouTube transcript?") %>
- <%= gettext("Error.") %> + <%- gettext("Error.") %>
-<%= gettext("EdX has a timed transcript for this video. If you want to replace this transcript, upload a new .srt transcript file. If you want to edit this transcript, you can download, edit, and re-upload the existing transcript.") %> +<%- gettext("EdX has a timed transcript for this video. If you want to replace this transcript, upload a new .srt transcript file. If you want to edit this transcript, you can download, edit, and re-upload the existing transcript.") %>
-<%= gettext("Error.") %> +<%- gettext("Error.") %>
- <%= gettext("You changed a video URL, but did not change the timed transcript file. Do you want to use the current timed transcript or upload a new .srt transcript file?") %> + <%- gettext("You changed a video URL, but did not change the timed transcript file. Do you want to use the current timed transcript or upload a new .srt transcript file?") %>
- <%= gettext("Error.") %> + <%- gettext("Error.") %>
"
+ title="<%- interpolate(
gettext('Collapse/Expand this %(xblock_type)s'), { xblock_type: xblockTypeDisplayName }, true
) %>"
>
@@ -17,7 +17,7 @@
<% } %>
<% if (xblockInfo.get('studio_url') && xblockInfo.get('category') !== 'chapter') { %>
- <%- xblockInfo.get('display_name') %>
+ <%- xblockInfo.get('display_name') %>
<% } else { %>
<%- xblockInfo.get('display_name') %>
@@ -28,9 +28,9 @@
@@ -40,7 +40,7 @@
<% if (xblockInfo.get('release_date')) { %>
- <%= gettext('Released:') %> <%= xblockInfo.get('release_date') %>
+ <%- gettext('Released:') %> <%- xblockInfo.get('release_date') %>
<% } %>
@@ -54,30 +54,30 @@
<% } %>
<% if (!parentInfo && xblockInfo.get('child_info') && xblockInfo.get('child_info').children.length === 0) { %>
- <%= gettext("You haven't added any content to this course yet.") %>
-
+
- <%= addChildLabel %>
+ <%- addChildLabel %>
<% } else { %>
-
+
<% if (childType) { %>
<% } %>
<%= gettext("You haven't added any content to this course yet.") %> - + - <%= addChildLabel %> + <%- addChildLabel %>
-
+