Commit f78d9bbb by Bill DeRusha Committed by Bill DeRusha

Update publisher New Course page copy: Studio Instance section

ECOM-6766
parent ac3a6f63
...@@ -20,6 +20,7 @@ class BaseCourseForm(forms.ModelForm): ...@@ -20,6 +20,7 @@ class BaseCourseForm(forms.ModelForm):
""" Base Course Form. """ """ Base Course Form. """
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
kwargs.setdefault('label_suffix', '')
super(BaseCourseForm, self).__init__(*args, **kwargs) super(BaseCourseForm, self).__init__(*args, **kwargs)
for field_name, field in self.fields.items(): for field_name, field in self.fields.items():
field_classes = 'field-input input-text' field_classes = 'field-input input-text'
...@@ -153,8 +154,8 @@ class CustomCourseRunForm(CourseRunForm): ...@@ -153,8 +154,8 @@ class CustomCourseRunForm(CourseRunForm):
required=True required=True
) )
start = forms.DateTimeField(label=_('Course start date'), required=True) start = forms.DateTimeField(label=_('Course Start Date'), required=True)
end = forms.DateTimeField(label=_('Course end date'), required=True) end = forms.DateTimeField(label=_('Course End Date'), required=True)
staff = forms.ModelMultipleChoiceField( staff = forms.ModelMultipleChoiceField(
queryset=Person.objects.all(), widget=forms.SelectMultiple, required=False queryset=Person.objects.all(), widget=forms.SelectMultiple, required=False
) )
...@@ -163,7 +164,7 @@ class CustomCourseRunForm(CourseRunForm): ...@@ -163,7 +164,7 @@ class CustomCourseRunForm(CourseRunForm):
choices=((1, _("Yes")), (0, _("No")))), initial=0, required=False choices=((1, _("Yes")), (0, _("No")))), initial=0, required=False
) )
pacing_type = forms.ChoiceField( pacing_type = forms.ChoiceField(
label=_('Pace'), label=_('Pacing'),
widget=forms.RadioSelect, widget=forms.RadioSelect,
choices=CourseRunPacing.choices, choices=CourseRunPacing.choices,
required=True required=True
......
...@@ -7,7 +7,7 @@ msgid "" ...@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-13 15:00-0500\n" "POT-Creation-Date: 2017-01-13 15:33-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
......
...@@ -7,7 +7,7 @@ msgid "" ...@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-13 15:00-0500\n" "POT-Creation-Date: 2017-01-13 15:33-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
......
...@@ -450,6 +450,12 @@ select { ...@@ -450,6 +450,12 @@ select {
input, select { input, select {
margin-bottom: 15px; margin-bottom: 15px;
} }
.read-only-field {
margin-bottom: 15px;
display: block;
}
.hd-4 { .hd-4 {
margin-bottom: 25px; margin-bottom: 25px;
padding-bottom: 10px; padding-bottom: 10px;
...@@ -477,6 +483,7 @@ select { ...@@ -477,6 +483,7 @@ select {
list-style: none; list-style: none;
border-bottom: 3px solid #ccc; border-bottom: 3px solid #ccc;
color: #ccc; color: #ccc;
cursor: pointer;
text-align: center; text-align: center;
&:hover{ &:hover{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment