For documents in the IETF stream, display consensus in the IESG portion of the page. For documents in other streams, disply consensis in the Stream portion of the page. Fixes #1560.
- Legacy-Id: 10632
This commit is contained in:
parent
884291fd91
commit
23151352c3
|
@ -451,8 +451,6 @@ def change_intention(request, name):
|
|||
|
||||
de = doc.latest_event(ConsensusDocEvent, type="changed_consensus")
|
||||
prev_consensus = de and de.consensus
|
||||
print prev_consensus
|
||||
print doc.intended_std_level_id
|
||||
if not prev_consensus and doc.intended_std_level_id in ("std", "ds", "ps", "bcp"):
|
||||
ce = ConsensusDocEvent(doc=doc, by=login, type="changed_consensus")
|
||||
ce.consensus = True
|
||||
|
|
|
@ -223,7 +223,7 @@
|
|||
{% endif %}
|
||||
</tr>
|
||||
|
||||
{% if consensus %}
|
||||
{% if consensus and not stream_state_type_slug == "draft-stream-ietf" %}
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Consensus</th>
|
||||
|
@ -298,6 +298,21 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
{% if consensus and stream_state_type_slug == "draft-stream-ietf" %}
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Consensus</th>
|
||||
<td class="edit">
|
||||
{% if can_edit or can_edit_stream_info %}
|
||||
<a class="btn btn-default btn-xs" href="{% url "doc_edit_consensus" name=doc.name %}">Edit</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>
|
||||
<span title="Whether the document is the result of a community consensus process as defined in RFC 5741">{{ consensus }}</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>Telechat date</th>
|
||||
|
|
Loading…
Reference in a new issue