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
47c117bf
Commit
47c117bf
authored
Feb 14, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - page headers: resolved new course update creation JS issue caused by new markup
parent
1a1be106
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
cms/static/js/views/course_info_edit.js
+4
-4
cms/templates/index.html
+1
-1
cms/templates/overview.html
+1
-1
No files found.
cms/static/js/views/course_info_edit.js
View file @
47c117bf
...
...
@@ -10,7 +10,7 @@ CMS.Views.CourseInfoEdit = Backbone.View.extend({
render
:
function
()
{
// instantiate the ClassInfoUpdateView and delegate the proper dom to it
new
CMS
.
Views
.
ClassInfoUpdateView
({
el
:
this
.
$
(
'#course-update-view
'
),
el
:
$
(
'body.updates
'
),
collection
:
this
.
model
.
get
(
'updates'
)
});
...
...
@@ -27,9 +27,9 @@ CMS.Views.ClassInfoUpdateView = Backbone.View.extend({
// collection is CourseUpdateCollection
events
:
{
"click .new-update-button"
:
"onNew"
,
"click .save-button"
:
"onSave"
,
"click .cancel-button"
:
"onCancel"
,
"click .edit-button"
:
"onEdit"
,
"click
#course-update-view
.save-button"
:
"onSave"
,
"click
#course-update-view
.cancel-button"
:
"onCancel"
,
"click .
post-actions > .
edit-button"
:
"onEdit"
,
"click .delete-button"
:
"onDelete"
},
...
...
cms/templates/index.html
View file @
47c117bf
...
...
@@ -64,7 +64,7 @@
<a
class=
"class-link"
href=
"${url}"
class=
"class-name"
>
<span
class=
"class-name"
>
${course}
</span>
</a>
<a
href=
"#"
class=
"button view-button view-live-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Live
</a>
<a
href=
"#"
rel=
"external"
class=
"button view-button view-live-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Live
</a>
</li>
%endfor
</ul>
...
...
cms/templates/overview.html
View file @
47c117bf
...
...
@@ -137,7 +137,7 @@
<a
href=
"#"
class=
"button new-button new-courseware-section-button"
><i
class=
"ss-icon ss-symbolicons-standard icon icon-create"
>
+
</i>
New Section
</a>
</li>
<li
class=
"nav-item"
>
<a
href=
"#"
class=
"button view-button view-live-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Live
</a>
<a
href=
"#"
rel=
"external"
class=
"button view-button view-live-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Live
</a>
</li>
</ul>
</nav>
...
...
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