Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
1ed5b4bd
Commit
1ed5b4bd
authored
Mar 29, 2016
by
Brian Jacobel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove usage of Underscore.string in edit-chapter.underscore
parent
db62db29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cms/templates/js/edit-chapter.underscore
+2
-2
No files found.
cms/templates/js/edit-chapter.underscore
View file @
1ed5b4bd
<div class="input-wrap field text required field-add-chapter-name chapter<%- order %>-name
<div class="input-wrap field text required field-add-chapter-name chapter<%- order %>-name
<% if (error && error.attributes && error.attributes.name) { print('error'); } %>">
<% if (error && error.attributes && error.attributes.name) { print('error'); } %>">
<label for="chapter<%- order %>-name"><%- gettext("Chapter Name") %></label>
<label for="chapter<%- order %>-name"><%- gettext("Chapter Name") %></label>
<input id="chapter<%- order %>-name" name="chapter<%- order %>-name" class="chapter-name short" placeholder="<%-
_.str.sprintf(gettext("Chapter %s"), order
) %>" value="<%- name %>" type="text">
<input id="chapter<%- order %>-name" name="chapter<%- order %>-name" class="chapter-name short" placeholder="<%-
StringUtils.interpolate(gettext("Chapter {order}"), {order: order}
) %>" value="<%- name %>" type="text">
<span class="tip tip-stacked"><%- gettext("provide the title/name of the chapter that will be used in navigating") %></span>
<span class="tip tip-stacked"><%- gettext("provide the title/name of the chapter that will be used in navigating") %></span>
</div>
</div>
<div class="input-wrap field text required field-add-chapter-asset chapter<%- order %>-asset
<div class="input-wrap field text required field-add-chapter-asset chapter<%- order %>-asset
<% if (error && error.attributes && error.attributes.asset_path) { print('error'); } %>">
<% if (error && error.attributes && error.attributes.asset_path) { print('error'); } %>">
<label for="chapter<%- order %>-asset-path"><%- gettext("Chapter Asset") %></label>
<label for="chapter<%- order %>-asset-path"><%- gettext("Chapter Asset") %></label>
<input id="chapter<%- order %>-asset-path" name="chapter<%- order %>-asset-path" class="chapter-asset-path" placeholder="<%-
_.str.sprintf(gettext("path/to/introductionToCookieBaking-CH%d.pdf"), order
) %>" value="<%- asset_path %>" type="text" dir="ltr">
<input id="chapter<%- order %>-asset-path" name="chapter<%- order %>-asset-path" class="chapter-asset-path" placeholder="<%-
StringUtils.interpolate(gettext("path/to/introductionToCookieBaking-CH{order}.pdf"), {order: order}
) %>" value="<%- asset_path %>" type="text" dir="ltr">
<span class="tip tip-stacked"><%- gettext("upload a PDF file or provide the path to a Studio asset file") %></span>
<span class="tip tip-stacked"><%- gettext("upload a PDF file or provide the path to a Studio asset file") %></span>
<button class="action action-upload"><%- gettext("Upload PDF") %></button>
<button class="action action-upload"><%- gettext("Upload PDF") %></button>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment