Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the materials start, cutoff, and revision dates into the Meetin…
…g object Add a bit to meeting to note whether proceedings are final. Update proceedings view to reflect the status of that bit. Add a function that finalizes a meetings proceedings. Straighten out a migration numbering collision introduced in an earlier merge. Commit ready for merge. - Legacy-Id: 11764
- Loading branch information
Showing
16 changed files
with
187 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models, migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('meeting', '0029_add_time_to_room_and_floorplan'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='meeting', | ||
name='submission_correction_day_offset', | ||
field=models.IntegerField(default=50, help_text=b'The number of days after the meeting start date in which updates to existing meeting materials will be accepted.', blank=True), | ||
preserve_default=True, | ||
), | ||
migrations.AddField( | ||
model_name='meeting', | ||
name='submission_cutoff_day_offset', | ||
field=models.IntegerField(default=26, help_text=b'The number of days after the meeting start date in which new meeting materials will be accepted.', blank=True), | ||
preserve_default=True, | ||
), | ||
migrations.AddField( | ||
model_name='meeting', | ||
name='submission_start_day_offset', | ||
field=models.IntegerField(default=90, help_text=b'The number of days before the meeting start date after which meeting materials will be accepted.', blank=True), | ||
preserve_default=True, | ||
), | ||
] |
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,23 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import models, migrations | ||
|
||
|
||
def reverse(apps, schema_editor): | ||
pass | ||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('meeting', '0030_add_material_day_offsets'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='meeting', | ||
name='proceedings_final', | ||
field=models.BooleanField(default=False, help_text='Are the proceedings for this meeting complete?'), | ||
preserve_default=True, | ||
), | ||
] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{% extends "base.html" %} | ||
{# Copyright The IETF Trust 2015, All Rights Reserved #} | ||
{% load origin %} | ||
{% load bootstrap3 %} | ||
|
||
{% block title %}Finalize IETF{{meeting.number}} Proceedings{% endblock %} | ||
|
||
{% block content %} | ||
{% origin %} | ||
<div class="panel panel-default col-md-5"> | ||
<div class="panel-heading"> | ||
Finalize IETF{{meeting.number}} Proceedings | ||
</div> | ||
<div class="panel-body"> | ||
<p>This will make the proceedings for IETF{{meeting.number}} final.</p> | ||
<p>All drafts associated with sessions that are marked "current version" will have their version set to whatever the version was at the end of the meeting.</p> | ||
{% comment %} This would be a good place to put any warnings about important things missing from the proceedings {% endcomment %} | ||
<div class="pull-right"> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{% buttons %} | ||
<button type="submit" class="btn btn-primary " name="finalize" value="Finalize">Finalize</button> | ||
<a class="btn btn-default " href="{% url 'ietf.meeting.views.proceedings' num=meeting.number %}">Cancel</a> | ||
{% endbuttons %} | ||
</form> | ||
</div> | ||
</div | ||
</div> | ||
{% endblock %} |
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