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
b314b5ce
Commit
b314b5ce
authored
May 09, 2013
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming of some files.
parent
4a7f7d65
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
cms/static/client_templates/metadata_option_entry.html
+0
-0
cms/static/client_templates/metadata_string_entry.html
+2
-2
cms/static/js/views/metadata_option_view.js
+0
-0
cms/static/js/views/metadata_string_view.js
+1
-1
cms/templates/base.html
+2
-1
No files found.
cms/static/client_templates/metadata_option_entry.html
0 → 100644
View file @
b314b5ce
cms/static/client_templates/
generic_metadata
_entry.html
→
cms/static/client_templates/
metadata_string
_entry.html
View file @
b314b5ce
...
@@ -6,4 +6,4 @@
...
@@ -6,4 +6,4 @@
<i
class=
"ss-icon ss-symbolicons-block undo"
>
↩
</i>
<i
class=
"ss-icon ss-symbolicons-block undo"
>
↩
</i>
</button>
</button>
</div>
</div>
<span
class=
"tip setting-help"
>
'
<
%=
model
.
get
("
help
")
%
>
'
</span>
<span
class=
"tip setting-help"
><
%=
model
.
get
('
help
')
%
></span>
\ No newline at end of file
\ No newline at end of file
cms/static/js/views/metadata_option_view.js
0 → 100644
View file @
b314b5ce
cms/static/js/views/
generic_metadata_editor
.js
→
cms/static/js/views/
metadata_string_view
.js
View file @
b314b5ce
...
@@ -10,7 +10,7 @@ CMS.Views.Metadata.Generic = Backbone.View.extend({
...
@@ -10,7 +10,7 @@ CMS.Views.Metadata.Generic = Backbone.View.extend({
var
self
=
this
;
var
self
=
this
;
// instantiates an editor template for each update in the collection
// instantiates an editor template for each update in the collection
window
.
templateLoader
.
loadRemoteTemplate
(
"metadata_entry"
,
window
.
templateLoader
.
loadRemoteTemplate
(
"metadata_entry"
,
"/static/client_templates/
generic_metadata
_entry.html"
,
"/static/client_templates/
metadata_string
_entry.html"
,
function
(
raw_template
)
{
function
(
raw_template
)
{
self
.
template
=
_
.
template
(
raw_template
);
self
.
template
=
_
.
template
(
raw_template
);
self
.
$el
.
append
(
self
.
template
({
model
:
self
.
model
}));
self
.
$el
.
append
(
self
.
template
({
model
:
self
.
model
}));
...
...
cms/templates/base.html
View file @
b314b5ce
...
@@ -52,7 +52,8 @@
...
@@ -52,7 +52,8 @@
<!--TODO: not the right place-->
<!--TODO: not the right place-->
<script
type=
"text/javascript"
src=
"${static.url('js/models/metadata_model.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/models/metadata_model.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/views/generic_metadata_editor.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/views/metadata_string_view.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/views/metadata_option_view.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/models/metadata_editor.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/models/metadata_editor.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/views/metadata_editor_view.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/views/metadata_editor_view.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/template_loader.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/template_loader.js')}"
></script>
...
...
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