mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
This adds a new realm_logo field, which is a horizontal-format logo to be displayed in the top-left corner of the webapp, and any other places where we might want a wide-format branding of the organization. Tweaked significantly by tabbott to rebase, fix styling, etc. Fixing the styling of this feature's loading indicator caused me to notice the loading indicator for the realm_icon feature was also ugly, so I fixed that too. Fixes #7995.
26 lines
718 B
Python
26 lines
718 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.14 on 2018-08-16 00:34
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('zerver', '0195_realm_first_visible_message_id'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='realm',
|
|
name='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='logo_version',
|
|
field=models.PositiveSmallIntegerField(default=1),
|
|
),
|
|
]
|