Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve proceedings display with new title block, configurable host l…
…ogos, and additional PDF or URL materials. Fixes #3147. Commit ready for merge. - Legacy-Id: 19306
- Loading branch information
1 parent
ca78da6
commit 2060173
Showing
46 changed files
with
2,988 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright The IETF Trust 2021 All Rights Reserved | ||
|
||
# Generated by Django 2.2.23 on 2021-05-21 13:29 | ||
|
||
from django.db import migrations | ||
|
||
def forward(apps, schema_editor): | ||
StateType = apps.get_model('doc', 'StateType') | ||
State = apps.get_model('doc', 'State') | ||
|
||
StateType.objects.create(slug='procmaterials', label='Proceedings Materials State') | ||
active = State.objects.create(type_id='procmaterials', slug='active', name='Active', used=True, desc='The material is active', order=0) | ||
removed = State.objects.create(type_id='procmaterials', slug='removed', name='Removed', used=True, desc='The material is removed', order=1) | ||
|
||
active.next_states.set([removed]) | ||
removed.next_states.set([active]) | ||
|
||
def reverse(apps, schema_editor): | ||
StateType = apps.get_model('doc', 'StateType') | ||
State = apps.get_model('doc', 'State') | ||
State.objects.filter(type_id='procmaterials').delete() | ||
StateType.objects.filter(slug='procmaterials').delete() | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('doc', '0043_bofreq_docevents'), | ||
('name', '0030_add_procmaterials'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython(forward, reverse) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.