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
08087861
Commit
08087861
authored
Nov 16, 2015
by
Christina Roberts
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10643 from edx/christina/fix-remove-icons
Correct the remove icon.
parents
79eea58b
37cf4672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cms/static/js/views/metadata.js
+2
-2
No files found.
cms/static/js/views/metadata.js
View file @
08087861
...
...
@@ -288,7 +288,7 @@ function(BaseView, _, MetadataModel, AbstractEditor, FileUpload, UploadDialog,
var
template
=
_
.
template
(
'<li class="list-settings-item">'
+
'<input type="text" class="input" value="<%= ele %>">'
+
'<a href="#" class="remove-action remove-setting" data-index="<%= index %>"><i class="icon fa fa-
remove-sign
"></i><span class="sr">Remove</span></a>'
+
'<a href="#" class="remove-action remove-setting" data-index="<%= index %>"><i class="icon fa fa-
times-circle" aria-hidden="true
"></i><span class="sr">Remove</span></a>'
+
'</li>'
);
list
.
append
(
$
(
template
({
'ele'
:
ele
,
'index'
:
index
})));
...
...
@@ -455,7 +455,7 @@ function(BaseView, _, MetadataModel, AbstractEditor, FileUpload, UploadDialog,
'<li class="list-settings-item">'
+
'<input type="text" class="input input-key" value="<%= key %>">'
+
'<input type="text" class="input input-value" value="<%= value %>">'
+
'<a href="#" class="remove-action remove-setting" data-value="<%= value %>"><i class="icon fa fa-
remove-sign
"></i><span class="sr">Remove</span></a>'
+
'<a href="#" class="remove-action remove-setting" data-value="<%= value %>"><i class="icon fa fa-
times-circle" aria-hidden="true
"></i><span class="sr">Remove</span></a>'
+
'</li>'
);
...
...
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