Commit 5dd94cf2 by Clinton Blackburn Committed by Clinton Blackburn

Added the certificate_logo_image_url field to the Organization model

ECOM-6858
parent 537d8175
# -*- coding: utf-8 -*-
# Generated by Django 1.9.11 on 2017-01-17 21:14
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('course_metadata', '0040_auto_20161220_1644'),
]
operations = [
migrations.AddField(
model_name='organization',
name='certificate_logo_image_url',
field=models.URLField(blank=True, help_text='Logo to be displayed on certificates. If this logo is the same as logo_image_url, copy and paste the same value to both fields.', null=True),
),
]
...@@ -162,6 +162,10 @@ class Organization(TimeStampedModel): ...@@ -162,6 +162,10 @@ class Organization(TimeStampedModel):
homepage_url = models.URLField(max_length=255, null=True, blank=True) homepage_url = models.URLField(max_length=255, null=True, blank=True)
logo_image_url = models.URLField(null=True, blank=True) logo_image_url = models.URLField(null=True, blank=True)
banner_image_url = models.URLField(null=True, blank=True) banner_image_url = models.URLField(null=True, blank=True)
certificate_logo_image_url = models.URLField(
null=True, blank=True, help_text=_('Logo to be displayed on certificates. If this logo is the same as '
'logo_image_url, copy and paste the same value to both fields.')
)
tags = TaggableManager(blank=True) tags = TaggableManager(blank=True)
......
...@@ -157,6 +157,7 @@ class OrganizationFactory(factory.DjangoModelFactory): ...@@ -157,6 +157,7 @@ class OrganizationFactory(factory.DjangoModelFactory):
homepage_url = FuzzyURL() homepage_url = FuzzyURL()
logo_image_url = FuzzyURL() logo_image_url = FuzzyURL()
banner_image_url = FuzzyURL() banner_image_url = FuzzyURL()
certificate_logo_image_url = FuzzyURL()
partner = factory.SubFactory(PartnerFactory) partner = factory.SubFactory(PartnerFactory)
marketing_url_path = FuzzyText() marketing_url_path = FuzzyText()
......
...@@ -7,14 +7,14 @@ msgid "" ...@@ -7,14 +7,14 @@ 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-18 12:59+0500\n" "POT-Creation-Date: 2017-01-18 11:20-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"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: \n"
#: apps/api/filters.py #: apps/api/filters.py
#, python-brace-format #, python-brace-format
...@@ -268,6 +268,12 @@ msgid "Leave this field blank to have the value generated automatically." ...@@ -268,6 +268,12 @@ msgid "Leave this field blank to have the value generated automatically."
msgstr "" msgstr ""
#: apps/course_metadata/models.py #: apps/course_metadata/models.py
msgid ""
"Logo to be displayed on certificates. If this logo is the same as "
"logo_image_url, copy and paste the same value to both fields."
msgstr ""
#: apps/course_metadata/models.py
msgid "People" msgid "People"
msgstr "" msgstr ""
......
...@@ -7,14 +7,14 @@ msgid "" ...@@ -7,14 +7,14 @@ 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-18 12:59+0500\n" "POT-Creation-Date: 2017-01-18 11:20-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"
"Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: apps/api/filters.py #: apps/api/filters.py
...@@ -321,6 +321,14 @@ msgstr "" ...@@ -321,6 +321,14 @@ msgstr ""
"ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α#" "ιρѕυм ∂σłσя ѕιт αмєт, ¢σηѕє¢тєтυя α#"
#: apps/course_metadata/models.py #: apps/course_metadata/models.py
msgid ""
"Logo to be displayed on certificates. If this logo is the same as "
"logo_image_url, copy and paste the same value to both fields."
msgstr ""
"Lögö tö ßé dïspläýéd ön çértïfïçätés. Ìf thïs lögö ïs thé sämé äs "
"lögö_ïmägé_ürl, çöpý änd pästé thé sämé välüé tö ßöth fïélds. Ⱡ'σяє#"
#: apps/course_metadata/models.py
msgid "People" msgid "People"
msgstr "Péöplé Ⱡ'σяєм ιρѕυ#" msgstr "Péöplé Ⱡ'σяєм ιρѕυ#"
......
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