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
b7eb287a
Commit
b7eb287a
authored
11 years ago
by
Peter Fogg
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #379 from edx/peter-fogg/fix-notification-saving
Fix saving notification CSS.
parents
d6edbd5e
871ab87b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
cms/djangoapps/contentstore/features/section.py
+1
-1
cms/static/sass/elements/_system-feedback.scss
+2
-2
cms/templates/js/system-feedback.underscore
+2
-2
No files found.
cms/djangoapps/contentstore/features/section.py
View file @
b7eb287a
...
...
@@ -44,7 +44,7 @@ def i_save_a_new_section_release_date(_step):
@step
(
'I see a "saving" notification'
)
def
i_see_a_saving_notification
(
step
):
saving_css
=
'.wrapper-notification-
saving
'
saving_css
=
'.wrapper-notification-
mini
'
assert
world
.
is_css_present
(
saving_css
)
...
...
This diff is collapsed.
Click to expand it.
cms/static/sass/elements/_system-feedback.scss
View file @
b7eb287a
...
...
@@ -274,7 +274,7 @@
}
}
&
.wrapper-notification-
saving
{
&
.wrapper-notification-
mini
{
box-shadow
:
0
-1px
3px
$shadow
,
inset
0
3px
1px
$pink
;
}
...
...
@@ -434,7 +434,7 @@
}
}
&
.
saving
{
&
.
mini
{
[
class
^=
"icon"
]
{
@include
animation
(
rotateCW
$tmg-s3
linear
infinite
);
...
...
This diff is collapsed.
Click to expand it.
cms/templates/js/system-feedback.underscore
View file @
b7eb287a
<div class="wrapper wrapper-<%= type %> wrapper-<%= type %>-<%= intent %>
<% if(obj.shown) { %>is-shown<% } else { %>is-hiding<% } %>
<% if(_.contains(['help', '
saving
'], intent)) { %>wrapper-<%= type %>-status<% } %>"
<% if(_.contains(['help', '
mini
'], intent)) { %>wrapper-<%= type %>-status<% } %>"
id="<%= type %>-<%= intent %>"
aria-hidden="<% if(obj.shown) { %>false<% } else { %>true<% } %>"
aria-labelledby="<%= type %>-<%= intent %>-title"
...
...
@@ -9,7 +9,7 @@
>
<div class="<%= type %> <%= intent %> <% if(obj.actions) { %>has-actions<% } %>">
<% if(obj.icon) { %>
<% var iconClass = {"warning": "warning-sign", "confirmation": "ok", "error": "warning-sign", "announcement": "bullhorn", "step-required": "exclamation-sign", "help": "question-sign", "
saving
": "cog"} %>
<% var iconClass = {"warning": "warning-sign", "confirmation": "ok", "error": "warning-sign", "announcement": "bullhorn", "step-required": "exclamation-sign", "help": "question-sign", "
mini
": "cog"} %>
<i class="icon-<%= iconClass[intent] %>"></i>
<% } %>
...
...
This diff is collapsed.
Click to expand it.
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