Commit 060c174e by Clinton Blackburn Committed by Clinton Blackburn

Removed Course.verification_deadline from Publisher

This field is not used, and makes no sense. Only course runs have verification deadlines.

LEARNER-2621
parent cb2a2dfb
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-09-20 18:21
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('publisher', '0056_auto_20170621_1712'),
]
operations = [
migrations.RemoveField(
model_name='course',
name='verification_deadline',
),
migrations.RemoveField(
model_name='historicalcourse',
name='verification_deadline',
),
]
......@@ -56,13 +56,6 @@ class Course(TimeStampedModel, ChangedByMixin):
syllabus = models.TextField(default=None, null=True, blank=True)
prerequisites = models.TextField(default=None, null=True, blank=True, verbose_name=_('Prerequisites'))
learner_testimonial = models.TextField(default=None, null=True, blank=True, verbose_name=_('Learner Testimonials'))
verification_deadline = models.DateTimeField(
null=True,
blank=True,
verbose_name=_("Verification deadline"),
help_text=_('Last date/time on which verification for this product can be submitted.')
)
primary_subject = models.ForeignKey(
Subject, default=None, null=True, blank=True, related_name='publisher_courses_primary'
)
......
......@@ -211,17 +211,6 @@
</div>
<div class="info-item">
<div class="heading">
{% trans "Verified Conversion Date" %}
{% include "publisher/course_run_detail/_clipboard.html" %}
</div>
<div class="copy">
{% with object.verification_deadline as field %}
{% include "publisher/_render_optional_field.html" %}
{% endwith %}
</div>
</div>
<div class="info-item">
<div class="heading">
{% trans "Start Date" %}
{% include "publisher/course_run_detail/_clipboard.html" %}
</div>
......
......@@ -175,10 +175,6 @@ class CourseRunWrapper(BaseWrapper):
return None
@property
def verification_deadline(self):
return self.wrapped_obj.course.verification_deadline
@property
def keywords(self):
return self.wrapped_obj.course.keywords_data
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-20 14:16-0400\n"
"POT-Creation-Date: 2017-09-20 15:36-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -830,15 +830,6 @@ msgid "Learner Testimonials"
msgstr ""
#: apps/publisher/models.py
msgid "Verification deadline"
msgstr ""
#: apps/publisher/models.py
msgid ""
"Last date/time on which verification for this product can be submitted."
msgstr ""
#: apps/publisher/models.py
msgid "Video Link"
msgstr ""
......@@ -2385,10 +2376,6 @@ msgid "MDC Submission Due Date"
msgstr ""
#: apps/publisher/templates/publisher/course_run_detail/_salesforce.html
msgid "Verified Conversion Date"
msgstr ""
#: apps/publisher/templates/publisher/course_run_detail/_salesforce.html
#: apps/publisher/templates/publisher/dashboard/_studio_requests.html
msgid "Start Date"
msgstr ""
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-09-20 14:16-0400\n"
"POT-Creation-Date: 2017-09-20 15:36-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -973,17 +973,6 @@ msgid "Learner Testimonials"
msgstr "Léärnér Téstïmönïäls Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, #"
#: apps/publisher/models.py
msgid "Verification deadline"
msgstr "Vérïfïçätïön déädlïné Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, #"
#: apps/publisher/models.py
msgid ""
"Last date/time on which verification for this product can be submitted."
msgstr ""
"Läst däté/tïmé ön whïçh vérïfïçätïön för thïs prödüçt çän ßé süßmïttéd. "
"Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя#"
#: apps/publisher/models.py
msgid "Video Link"
msgstr "Vïdéö Lïnk Ⱡ'σяєм ιρѕυм ∂σłσ#"
......@@ -2819,10 +2808,6 @@ msgid "MDC Submission Due Date"
msgstr "MDÇ Süßmïssïön Düé Däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢σ#"
#: apps/publisher/templates/publisher/course_run_detail/_salesforce.html
msgid "Verified Conversion Date"
msgstr "Vérïfïéd Çönvérsïön Däté Ⱡ'σяєм ιρѕυм ∂σłσя ѕιт αмєт, ¢ση#"
#: apps/publisher/templates/publisher/course_run_detail/_salesforce.html
#: apps/publisher/templates/publisher/dashboard/_studio_requests.html
msgid "Start Date"
msgstr "Stärt Däté Ⱡ'σяєм ιρѕυм ∂σłσ#"
......
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