Skip to content

Commit

Permalink
Update best practices/examples/sequencing
Browse files Browse the repository at this point in the history
ECOM-6963
  • Loading branch information
tasawernawaz committed Feb 28, 2017
1 parent 02c46b4 commit 9e120ed
Show file tree
Hide file tree
Showing 11 changed files with 913 additions and 394 deletions.
Binary file modified course_discovery/conf/locale/en/LC_MESSAGES/django.mo
Binary file not shown.
374 changes: 278 additions & 96 deletions course_discovery/conf/locale/en/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified course_discovery/conf/locale/en/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion course_discovery/conf/locale/en/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-24 18:17+0500\n"
"POT-Creation-Date: 2017-02-28 15:51+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
Binary file modified course_discovery/conf/locale/eo/LC_MESSAGES/django.mo
Binary file not shown.
639 changes: 448 additions & 191 deletions course_discovery/conf/locale/eo/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Binary file modified course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion course_discovery/conf/locale/eo/LC_MESSAGES/djangojs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-02-24 18:17+0500\n"
"POT-Creation-Date: 2017-02-28 15:51+0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
4 changes: 2 additions & 2 deletions course_discovery/static/js/publisher/publisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ $(document).ready(function(){

$('ul.tabs .course-tabs').click(function(){
var tab_id = $(this).attr('data-tab'),
$tabContent = $("#"+tab_id);
$tabContent = $(this).closest('.row').siblings("#"+tab_id);
$(this).parent().find('.course-tabs').removeClass('active');
$tabContent.parent().find('.content').removeClass('active');
$tabContent.siblings('.content').removeClass('active');

$(this).addClass('active');
$tabContent.addClass('active');
Expand Down
5 changes: 1 addition & 4 deletions course_discovery/static/sass/publisher/publisher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,7 @@
.content{
display: none;
p{
@include margin(0px, 0px, 0px, 0px);
}
p:first-of-type{
margin-bottom: 20px;
@include margin(0px, 0px, 20px, 0px);
}
}
.content.active{
Expand Down
281 changes: 182 additions & 99 deletions course_discovery/templates/publisher/add_update_course_form.html

Large diffs are not rendered by default.

0 comments on commit 9e120ed

Please sign in to comment.