mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
settings: Add support for uploading logo for night mode.
This adds a new field named realm_night_logo which is used for displaying the organization logo when the user is in night mode. Fixes #11176.
This commit is contained in:
25
zerver/migrations/0208_add_realm_night_logo_fields.py
Normal file
25
zerver/migrations/0208_add_realm_night_logo_fields.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.18 on 2019-01-15 16:07
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('zerver', '0207_multiuseinvite_invited_as'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='realm',
|
||||
name='night_logo_source',
|
||||
field=models.CharField(choices=[('D', 'Default to Zulip'), ('U', 'Uploaded by administrator')], default='D', max_length=1),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='realm',
|
||||
name='night_logo_version',
|
||||
field=models.PositiveSmallIntegerField(default=1),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user