diff --git a/amadeus/locale/pt_BR/LC_MESSAGES/django.po b/amadeus/locale/pt_BR/LC_MESSAGES/django.po index 9de762c..d1fe3be 100644 --- a/amadeus/locale/pt_BR/LC_MESSAGES/django.po +++ b/amadeus/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -26,91 +26,96 @@ msgstr "Português" msgid "English" msgstr "Inglês" -#: amadeus/templates/base.html:112 +#: amadeus/templates/base.html:113 msgid "Search for subjects and resources" msgstr "Buscar por assuntos ou recursos" -#: amadeus/templates/base.html:124 amadeus/templates/base.html:127 +#: amadeus/templates/base.html:125 amadeus/templates/base.html:128 msgid "Language Selector" msgstr "Seletor de Línguas" -#: amadeus/templates/base.html:158 +#: amadeus/templates/base.html:159 msgid "Profile" msgstr "Perfil" -#: amadeus/templates/base.html:159 +#: amadeus/templates/base.html:160 msgid "Edit Profile" msgstr "Editar Perfil" -#: amadeus/templates/base.html:160 +#: amadeus/templates/base.html:161 msgid "Change Password" msgstr "Alterar Senha" -#: amadeus/templates/base.html:161 +#: amadeus/templates/base.html:162 msgid "Delete Account" msgstr "Remover Conta" -#: amadeus/templates/base.html:162 +#: amadeus/templates/base.html:163 msgid "Logout" msgstr "Sair" -#: amadeus/templates/base.html:167 +#: amadeus/templates/base.html:168 msgid "settings" msgstr "configurações" -#: amadeus/templates/base.html:170 +#: amadeus/templates/base.html:171 msgid "Settings" msgstr "Configurações" -#: amadeus/templates/base.html:173 +#: amadeus/templates/base.html:174 msgid "Manage Users" msgstr "Gerenciar Usuários" -#: amadeus/templates/base.html:174 +#: amadeus/templates/base.html:175 msgid "Manage Categories" msgstr "Gerenciar Categorias" -#: amadeus/templates/base.html:175 +#: amadeus/templates/base.html:176 msgid "Manage News" msgstr "Gerenciar Notícias" -#: amadeus/templates/base.html:182 +#: amadeus/templates/base.html:183 msgid "System" msgstr "Sistema" -#: amadeus/templates/base.html:189 +#: amadeus/templates/base.html:190 msgid "Mail Sender" msgstr "Remetente de Email" -#: amadeus/templates/base.html:190 +#: amadeus/templates/base.html:191 msgid "Security" msgstr "Segurança" -#: amadeus/templates/base.html:191 +#: amadeus/templates/base.html:192 msgid "Theme" msgstr "Temas" -#: amadeus/templates/base.html:192 +#: amadeus/templates/base.html:193 msgid "Web Conference" msgstr "Web conferência" -#: amadeus/templates/base.html:227 amadeus/templates/base.html:282 +#: amadeus/templates/base.html:228 amadeus/templates/base.html:284 +#: amadeus/templates/base.html:321 msgid "Subjects" msgstr "Assuntos" -#: amadeus/templates/base.html:232 amadeus/templates/base.html:287 +#: amadeus/templates/base.html:233 amadeus/templates/base.html:290 +#: amadeus/templates/base.html:326 msgid "Mural" msgstr "Mural" -#: amadeus/templates/base.html:238 amadeus/templates/base.html:293 +#: amadeus/templates/base.html:239 amadeus/templates/base.html:297 +#: amadeus/templates/base.html:332 msgid "Messages" msgstr "Mensagens" -#: amadeus/templates/base.html:244 amadeus/templates/base.html:299 +#: amadeus/templates/base.html:245 amadeus/templates/base.html:305 +#: amadeus/templates/base.html:338 msgid "Pendencies" msgstr "Pendências" -#: amadeus/templates/base.html:252 amadeus/templates/base.html:307 +#: amadeus/templates/base.html:253 amadeus/templates/base.html:314 +#: amadeus/templates/base.html:346 msgid "Analytics" msgstr "Analytics" diff --git a/amadeus/static/js/themes.js b/amadeus/static/js/themes.js index 2b41211..750d3c5 100644 --- a/amadeus/static/js/themes.js +++ b/amadeus/static/js/themes.js @@ -9,6 +9,7 @@ function Init() { var small = $("#id_small_logo"), large = $("#id_large_logo"), fav = $("#id_favicon"), + contrast = $("#id_high_contrast_logo"), filedrag = $(".filedrag"), common = $(".common-file-input"); @@ -16,6 +17,7 @@ function Init() { fav.on("change", FileSelectHandler); small.on("change", FileSelectHandler); large.on("change", FileSelectHandler); + contrast.on("change", FileSelectHandler); // is XHR2 available? var xhr = new XMLHttpRequest(); @@ -39,8 +41,6 @@ function FileSelectHandler(e) { var alerts_open = $("#theme-form").find(".alert-file").length; - console.log(alerts_open); - if (alerts_open == 0) { $(submit_btn).prop('disable', false); $(submit_btn).prop('disabled', false); diff --git a/analytics/locale/pt_BR/LC_MESSAGES/django.po b/analytics/locale/pt_BR/LC_MESSAGES/django.po index 4e464d1..a4a51a3 100644 --- a/analytics/locale/pt_BR/LC_MESSAGES/django.po +++ b/analytics/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/api/locale/pt_BR/LC_MESSAGES/django.po b/api/locale/pt_BR/LC_MESSAGES/django.po index 327b728..ade399e 100644 --- a/api/locale/pt_BR/LC_MESSAGES/django.po +++ b/api/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/bulletin/locale/pt_BR/LC_MESSAGES/django.po b/bulletin/locale/pt_BR/LC_MESSAGES/django.po index 5690ae7..1ef58a2 100644 --- a/bulletin/locale/pt_BR/LC_MESSAGES/django.po +++ b/bulletin/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/categories/locale/pt_BR/LC_MESSAGES/django.po b/categories/locale/pt_BR/LC_MESSAGES/django.po index f92afba..9688bdc 100644 --- a/categories/locale/pt_BR/LC_MESSAGES/django.po +++ b/categories/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/chat/locale/pt_BR/LC_MESSAGES/django.po b/chat/locale/pt_BR/LC_MESSAGES/django.po index 4c1b70b..270ac2c 100644 --- a/chat/locale/pt_BR/LC_MESSAGES/django.po +++ b/chat/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/dashboards/locale/pt_BR/LC_MESSAGES/django.po b/dashboards/locale/pt_BR/LC_MESSAGES/django.po index fb86d5a..711c3e4 100644 --- a/dashboards/locale/pt_BR/LC_MESSAGES/django.po +++ b/dashboards/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/file_link/locale/pt_BR/LC_MESSAGES/django.po b/file_link/locale/pt_BR/LC_MESSAGES/django.po index 5c584e6..3069bd2 100644 --- a/file_link/locale/pt_BR/LC_MESSAGES/django.po +++ b/file_link/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/goals/locale/pt_BR/LC_MESSAGES/django.po b/goals/locale/pt_BR/LC_MESSAGES/django.po index 45f761f..d296541 100644 --- a/goals/locale/pt_BR/LC_MESSAGES/django.po +++ b/goals/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/links/locale/pt_BR/LC_MESSAGES/django.po b/links/locale/pt_BR/LC_MESSAGES/django.po index 8c64289..07ede3f 100644 --- a/links/locale/pt_BR/LC_MESSAGES/django.po +++ b/links/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/log/locale/pt_BR/LC_MESSAGES/django.po b/log/locale/pt_BR/LC_MESSAGES/django.po index 22b2519..e9cc5c7 100644 --- a/log/locale/pt_BR/LC_MESSAGES/django.po +++ b/log/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/mailsender/locale/pt_BR/LC_MESSAGES/django.po b/mailsender/locale/pt_BR/LC_MESSAGES/django.po index 562fb8b..3c4b154 100644 --- a/mailsender/locale/pt_BR/LC_MESSAGES/django.po +++ b/mailsender/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/mural/locale/pt_BR/LC_MESSAGES/django.po b/mural/locale/pt_BR/LC_MESSAGES/django.po index 821d7ab..725f5e7 100644 --- a/mural/locale/pt_BR/LC_MESSAGES/django.po +++ b/mural/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/news/locale/pt_BR/LC_MESSAGES/django.po b/news/locale/pt_BR/LC_MESSAGES/django.po index d6bd566..96c2fa6 100644 --- a/news/locale/pt_BR/LC_MESSAGES/django.po +++ b/news/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/notifications/locale/pt_BR/LC_MESSAGES/django.po b/notifications/locale/pt_BR/LC_MESSAGES/django.po index 8c55c24..c5f7c30 100644 --- a/notifications/locale/pt_BR/LC_MESSAGES/django.po +++ b/notifications/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/pdf_file/locale/pt_BR/LC_MESSAGES/django.po b/pdf_file/locale/pt_BR/LC_MESSAGES/django.po index b2e13d6..4153399 100644 --- a/pdf_file/locale/pt_BR/LC_MESSAGES/django.po +++ b/pdf_file/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/pendencies/locale/pt_BR/LC_MESSAGES/django.po b/pendencies/locale/pt_BR/LC_MESSAGES/django.po index af68389..19a0e73 100644 --- a/pendencies/locale/pt_BR/LC_MESSAGES/django.po +++ b/pendencies/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/reports/locale/pt_BR/LC_MESSAGES/django.po b/reports/locale/pt_BR/LC_MESSAGES/django.po index 23d30a2..6fb14e2 100644 --- a/reports/locale/pt_BR/LC_MESSAGES/django.po +++ b/reports/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/security/locale/pt_BR/LC_MESSAGES/django.po b/security/locale/pt_BR/LC_MESSAGES/django.po index 19fa96c..9e65ee9 100644 --- a/security/locale/pt_BR/LC_MESSAGES/django.po +++ b/security/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/students_group/locale/pt_BR/LC_MESSAGES/django.po b/students_group/locale/pt_BR/LC_MESSAGES/django.po index 1ab1508..a3673a6 100644 --- a/students_group/locale/pt_BR/LC_MESSAGES/django.po +++ b/students_group/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/subjects/locale/pt_BR/LC_MESSAGES/django.po b/subjects/locale/pt_BR/LC_MESSAGES/django.po index ff60594..9ba3dbf 100644 --- a/subjects/locale/pt_BR/LC_MESSAGES/django.po +++ b/subjects/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -324,15 +324,15 @@ msgstr "Início" msgid "End" msgstr "Fim" -#: subjects/templates/subjects/subject_card.html:84 +#: subjects/templates/subjects/subject_card.html:85 msgid "Access Subject" msgstr "Acessar Assunto" -#: subjects/templates/subjects/subject_card.html:86 +#: subjects/templates/subjects/subject_card.html:89 msgid "Subscribe to Subject" msgstr "Inscrever-se no Assunto" -#: subjects/templates/subjects/subject_card.html:89 +#: subjects/templates/subjects/subject_card.html:92 msgid "This subject doesn't allow new subscriptions" msgstr "Esse assunto não permite novas inscrições" diff --git a/themes/forms.py b/themes/forms.py index c00cde4..9e9b6c0 100644 --- a/themes/forms.py +++ b/themes/forms.py @@ -43,14 +43,27 @@ class BasicElemetsForm(forms.ModelForm): return ValueError return image + + def clean_high_contrast_logo(self): + image = self.cleaned_data.get('high_contrast_logo', False) + + if image: + if hasattr(image, '_size'): + if image._size > self.MAX_UPLOAD_SIZE: + self._errors['high_contrast_logo'] = [_("The image is too large. It should have less than 2MB.")] + + return ValueError + + return image class Meta: model = Themes - fields = ['title', 'favicon', 'small_logo', 'large_logo', 'footer_note'] + fields = ['title', 'favicon', 'small_logo', 'large_logo', 'high_contrast_logo', 'footer_note'] widgets = { 'favicon': ResubmitFileWidget(attrs={'accept':'image/*'}), 'small_logo': ResubmitFileWidget(attrs={'accept':'image/*'}), - 'larger_logo': ResubmitFileWidget(attrs={'accept':'image/*'}), + 'large_logo': ResubmitFileWidget(attrs={'accept':'image/*'}), + 'high_contrast_logo': ResubmitFileWidget(attrs={'accept':'image/*'}), } class CSSStyleForm(forms.ModelForm): diff --git a/themes/locale/pt_BR/LC_MESSAGES/django.po b/themes/locale/pt_BR/LC_MESSAGES/django.po index 7b9520f..bfd2e85 100644 --- a/themes/locale/pt_BR/LC_MESSAGES/django.po +++ b/themes/locale/pt_BR/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-09-13 23:39-0300\n" +"POT-Creation-Date: 2017-09-20 21:31-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: themes/forms.py:17 themes/forms.py:29 themes/forms.py:41 +#: themes/forms.py:17 themes/forms.py:29 themes/forms.py:41 themes/forms.py:53 #: themes/templates/themes/basic_update.html:94 msgid "The image is too large. It should have less than 2MB." msgstr "A imagem é muito grande. Ela deve ter menos de 2MB." @@ -44,34 +44,38 @@ msgid "Large Logo" msgstr "Logo Grande" #: themes/models.py:18 +msgid "High Contrast Logo" +msgstr "Logo de Alto Contraste" + +#: themes/models.py:19 msgid "Footer Note" msgstr "Nota de Rodapé" -#: themes/models.py:19 +#: themes/models.py:20 msgid "Css Style" msgstr "Estilo CSS" -#: themes/models.py:19 +#: themes/models.py:20 msgid "Green" msgstr "Verde" -#: themes/models.py:19 +#: themes/models.py:20 msgid "Contrast" -msgstr "" +msgstr "Contraste" -#: themes/models.py:19 +#: themes/models.py:20 msgid "Red" msgstr "Vermelho" -#: themes/models.py:19 +#: themes/models.py:20 msgid "Black" msgstr "Preto" -#: themes/models.py:22 +#: themes/models.py:23 msgid "Theme" msgstr "Tema" -#: themes/models.py:23 themes/views.py:23 +#: themes/models.py:24 themes/views.py:23 msgid "Themes" msgstr "Temas" diff --git a/themes/templates/themes/basic_update.html b/themes/templates/themes/basic_update.html index 01e64d1..57ff1b2 100644 --- a/themes/templates/themes/basic_update.html +++ b/themes/templates/themes/basic_update.html @@ -19,7 +19,7 @@ {% csrf_token %} {% for field in form %}
- {% if field.auto_id == 'id_small_logo' or field.auto_id == 'id_large_logo' or field.auto_id == 'id_favicon' %} + {% if field.auto_id == 'id_small_logo' or field.auto_id == 'id_large_logo' or field.auto_id == 'id_favicon' or field.auto_id == 'id_high_contrast_logo' %} {% if field.field.required %} {% else %} @@ -85,7 +85,7 @@
{% endif %} - {% if field.auto_id == 'id_small_logo' or field.auto_id == 'id_large_logo' or field.auto_id == 'id_favicon' %} + {% if field.auto_id == 'id_small_logo' or field.auto_id == 'id_large_logo' or field.auto_id == 'id_favicon' or field.auto_id == 'id_high_contrast_logo' %}