various fixes
This commit is contained in:
@@ -17,7 +17,7 @@ class UserAdmin(BaseUserAdmin):
|
||||
inlines = [ProfileInline]
|
||||
fieldsets = (
|
||||
(None, {'fields': ('username', 'email', 'password')}),
|
||||
(_('Permissions'), {'fields': ('is_active', 'is_staff', 'is_superuser', 'groups')}),
|
||||
('Permissions', {'fields': ('is_active', 'is_staff', 'is_superuser', 'groups')}),
|
||||
)
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@ class InformationAdmin(TranslatableAdmin):
|
||||
readonly_fields = ('informed_users',)
|
||||
fieldsets = (
|
||||
(None, {'fields': ('title', 'published', 'image', 'cropping')}),
|
||||
(_('Permissions'), {'fields': ('groups',)}),
|
||||
(_('Information'), {'fields': ('informed_users',)}),
|
||||
('Permissions', {'fields': ('groups',)}),
|
||||
('Information', {'fields': ('informed_users',)}),
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ class Information(TranslatableModel):
|
||||
informed_users = models.ManyToManyField(User, verbose_name='Als gelesen markiert von:', null=True, blank=True)
|
||||
|
||||
translations = TranslatedFields(
|
||||
title=models.CharField(max_length=100, verbose_name=_('Title')),
|
||||
title=models.CharField(max_length=100, verbose_name='Title'),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends 'main.html' %}
|
||||
{% load i18n static cms_tags %}
|
||||
|
||||
{% block title %}{% trans 'Mitgliederbereich' %}{% endblock %}
|
||||
{% block title %}{% trans 'Elementa Portal' %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content__frame">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends 'project/dialog.html' %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans 'Mitgliederbereich' %}{% endblock %}
|
||||
{% block title %}{% trans 'Eltern-Login' %}{% endblock %}
|
||||
|
||||
{% block extra_meta %}
|
||||
<meta name="robots" content="noindex, nofollow"/>
|
||||
|
||||
Reference in New Issue
Block a user