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
2a3dd732
Commit
2a3dd732
authored
Jul 18, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMS i18n changes from Tsinghua
parent
d78af5cf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
57 deletions
+2
-57
cms/static/js/base.js
+1
-1
cms/templates/edit-static-page.html
+0
-42
cms/templates/editable_preview.html
+0
-13
cms/templates/overview.html
+1
-1
No files found.
cms/static/js/base.js
View file @
2a3dd732
...
...
@@ -728,7 +728,7 @@ function saveSetSectionScheduleDate(e) {
var
$thisSection
=
$
(
'.courseware-section[data-id="'
+
id
+
'"]'
);
var
html
=
_
.
template
(
'<span class="published-status">'
+
'<strong>'
+
gettext
(
"Will Release:
"
)
+
'</strong>'
+
'<strong>'
+
gettext
(
"Will Release:"
)
+
'</strong>'
+
gettext
(
"<%= date %> at <%= time %> UTC"
)
+
'</span>'
+
'<a href="#" class="edit-button" data-date="<%= date %>" data-time="<%= time %>" data-id="<%= id %>">'
+
...
...
cms/templates/edit-static-page.html
deleted
100644 → 0
View file @
d78af5cf
<
%
inherit
file=
"base.html"
/>
<
%!
from
django
.
core
.
urlresolvers
import
reverse
%
>
<
%
block
name=
"title"
>
Editing Static Page
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course pages edit-static-page
</
%
block>
<
%
block
name=
"content"
>
<div
class=
"main-wrapper"
>
<div
class=
"inner-wrapper"
>
<div
class=
"main-column"
>
<article
class=
"static-page-details"
>
<div
class=
"row"
>
<label>
Display Name:
</label>
<input
type=
"text"
value=
"Syllabus"
class=
"page-display-name-input"
data-metadata-name=
"display_name"
/>
</div>
<div
class=
"row"
>
<label>
Page Content:
</label>
<textarea
class=
"page-contents"
></textarea>
</div>
</article>
</div>
<div
class=
"sidebar"
>
<div
class=
"unit-settings window"
>
<h4
class=
"header"
>
Page Settings
</h4>
<div
class=
"window-contents"
>
<div
class=
"row visibility"
>
<label
class=
"inline-label"
>
Visibility:
</label>
<select>
<option>
Public
</option>
<option>
Private
</option>
</select>
</div>
<div
class=
"row unit-actions"
>
<a
href=
"#"
class=
"save-button"
>
Save
</a>
<a
href=
"#"
target=
"_blank"
class=
"preview-button"
>
Preview
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</
%
block>
\ No newline at end of file
cms/templates/editable_preview.html
deleted
100644 → 0
View file @
d78af5cf
<section
class=
'editable-preview'
>
${content}
<div
class=
"component-actions"
>
<a
href=
"#"
class=
"edit-button"
><span
class=
"edit-icon white"
></span>
Edit
</a>
<a
href=
"#"
class=
"delete-button"
><span
class=
"delete-icon white"
></span>
Delete
</a>
</div>
<a
data-tooltip=
"Drag to reorder"
href=
"#"
class=
"drag-handle"
></a>
<div
class=
"component-editor"
>
<h5>
Edit Video Component
</h5>
<textarea
class=
"component-source"
><video
youtube=
"1.50:q1xkuPsOY6Q,1.25:9WOY2dHz5i4,1.0:4rpg8Bq6hb4,0.75:KLim9Xkp7IY"
/></textarea>
<a
href=
"#"
class=
"save-button"
>
Save
</a><a
href=
"#"
class=
"cancel-button"
>
Cancel
</a>
</div>
<section>
cms/templates/overview.html
View file @
2a3dd732
/
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
inherit
file=
"base.html"
/>
<
%!
import
logging
...
...
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