|
264 | 264 | </tr> |
265 | 265 | {% endif %} |
266 | 266 |
|
267 | | - <tr> |
268 | | - <th></th> |
269 | | - <th>Document shepherd</th> |
270 | | - <td class="edit"> |
271 | | - {% if can_edit_stream_info %} |
272 | | - <a class="btn btn-default btn-xs" href="{% url "doc_edit_shepherd" name=doc.name %}">Edit</a> |
273 | | - {% elif is_shepherd %} |
274 | | - <a class="btn btn-default btn-xs" href="{% url "doc_change_shepherd_email" name=doc.name %}">Change Email</a> |
275 | | - {% endif %} |
276 | | - </td> |
277 | | - <td> |
278 | | - {% if doc.shepherd %}{{ doc.shepherd.person }}{% else %}No shepherd assigned{% endif %} |
279 | | - </td> |
280 | | - </tr> |
281 | | - |
282 | | - {% if shepherd_writeup or can_edit_shepherd_writeup %} |
| 267 | + {% if stream_state_type_slug == "draft-stream-ietf" %} |
283 | 268 | <tr> |
284 | 269 | <th></th> |
285 | | - <th>Shepherd write-up</th> |
| 270 | + <th>Document shepherd</th> |
286 | 271 | <td class="edit"> |
287 | | - {% if can_edit_shepherd_writeup %} |
288 | | - {% url "doc_edit_shepherd_writeup" name=doc.name as doc_edit_url %} |
289 | | - {% if doc_edit_url %} |
290 | | - <a class="btn btn-default btn-xs" href="{{doc_edit_url}}">Edit</a> |
291 | | - {% endif %} |
| 272 | + {% if can_edit_stream_info %} |
| 273 | + <a class="btn btn-default btn-xs" href="{% url "doc_edit_shepherd" name=doc.name %}">Edit</a> |
| 274 | + {% elif is_shepherd %} |
| 275 | + <a class="btn btn-default btn-xs" href="{% url "doc_change_shepherd_email" name=doc.name %}">Change Email</a> |
292 | 276 | {% endif %} |
293 | 277 | </td> |
294 | 278 | <td> |
295 | | - {% if shepherd_writeup %} |
296 | | - <a class="btn btn-default btn-xs" href="{% url "doc_shepherd_writeup" name=doc.name %}">Show</a> |
297 | | - (last changed {{ shepherd_writeup.time|date:"Y-m-d"}}) |
298 | | - {% else %} |
299 | | - (None) |
| 279 | + {% if doc.shepherd %}{{ doc.shepherd.person }}{% else %}No shepherd assigned{% endif %} |
| 280 | + </td> |
| 281 | + </tr> |
| 282 | + |
| 283 | + {% if shepherd_writeup or can_edit_shepherd_writeup %} |
| 284 | + <tr> |
| 285 | + <th></th> |
| 286 | + <th>Shepherd write-up</th> |
| 287 | + <td class="edit"> |
| 288 | + {% if can_edit_shepherd_writeup %} |
| 289 | + {% url "doc_edit_shepherd_writeup" name=doc.name as doc_edit_url %} |
| 290 | + {% if doc_edit_url %} |
| 291 | + <a class="btn btn-default btn-xs" href="{{doc_edit_url}}">Edit</a> |
| 292 | + {% endif %} |
| 293 | + {% endif %} |
| 294 | + </td> |
| 295 | + <td> |
| 296 | + {% if shepherd_writeup %} |
| 297 | + <a class="btn btn-default btn-xs" href="{% url "doc_shepherd_writeup" name=doc.name %}">Show</a> |
| 298 | + (last changed {{ shepherd_writeup.time|date:"Y-m-d"}}) |
| 299 | + {% else %} |
| 300 | + (None) |
| 301 | + {% endif %} |
| 302 | + </td> |
| 303 | + </tr> |
| 304 | + {% endif %} |
| 305 | + {% else %} |
| 306 | + <tr> |
| 307 | + <th></th> |
| 308 | + <th>RFC Editor Note</th> |
| 309 | + <td class="edit"> |
| 310 | + {% if can_edit_stream_info %} |
| 311 | + <a class="btn btn-default btn-xs" href="{% url "doc_ballot_rfceditornote" name=doc.name %}">Edit</a> |
300 | 312 | {% endif %} |
301 | 313 | </td> |
| 314 | + <td> |
| 315 | + {% if doc.has_rfc_editor_note %}(last changed {{ doc.has_rfc_editor_note|date:"Y-m-d"}}){% else %}(None){% endif %} |
| 316 | + </td> |
302 | 317 | </tr> |
303 | 318 | {% endif %} |
304 | 319 |
|
|
310 | 325 | {% endif %} |
311 | 326 |
|
312 | 327 | </tbody> |
313 | | - <tbody class="meta"> |
314 | | - <tr> |
315 | | - <th>IESG</th> |
316 | | - <th><a href="{% url "ietf.help.views.state" doc=doc.type.slug type="iesg" %}">IESG state</a></th> |
317 | | - <td class="edit"> |
318 | | - {% if iesg_state and can_edit %} |
319 | | - <a class="btn btn-default btn-xs" href="{% url "doc_change_state" name=doc.name %}">Edit</a> |
320 | | - {% endif %} |
321 | | - </td> |
322 | | - <td> |
323 | | - {{ iesg_state_summary|default:"I-D Exists" }} |
324 | | - </td> |
325 | | - </tr> |
326 | 328 |
|
327 | | - {% if consensus and stream_state_type_slug == "draft-stream-ietf" %} |
| 329 | + {% if not stream_state_type_slug == "draft-stream-iab" %} |
| 330 | + <tbody class="meta"> |
328 | 331 | <tr> |
329 | | - <th></th> |
330 | | - <th>Consensus</th> |
| 332 | + <th>IESG</th> |
| 333 | + <th><a href="{% url "ietf.help.views.state" doc=doc.type.slug type="iesg" %}">IESG state</a></th> |
331 | 334 | <td class="edit"> |
332 | | - {% if can_edit or can_edit_stream_info %} |
333 | | - <a class="btn btn-default btn-xs" href="{% url "doc_edit_consensus" name=doc.name %}">Edit</a> |
| 335 | + {% if iesg_state and can_edit %} |
| 336 | + <a class="btn btn-default btn-xs" href="{% url "doc_change_state" name=doc.name %}">Edit</a> |
334 | 337 | {% endif %} |
335 | 338 | </td> |
336 | 339 | <td> |
337 | | - <span title="Whether the document is the result of a community consensus process as defined in RFC 5741">{{ consensus }}</span> |
| 340 | + {{ iesg_state_summary|default:"I-D Exists" }} |
338 | 341 | </td> |
339 | 342 | </tr> |
340 | | - {% endif %} |
341 | 343 |
|
342 | | - <tr> |
343 | | - <th></th> |
344 | | - <th>Telechat date</th> |
345 | | - <td class="edit"> |
346 | | - {% if can_edit %} |
| 344 | + {% if consensus and stream_state_type_slug == "draft-stream-ietf" %} |
| 345 | + <tr> |
| 346 | + <th></th> |
| 347 | + <th>Consensus</th> |
| 348 | + <td class="edit"> |
| 349 | + {% if can_edit or can_edit_stream_info %} |
| 350 | + <a class="btn btn-default btn-xs" href="{% url "doc_edit_consensus" name=doc.name %}">Edit</a> |
| 351 | + {% endif %} |
| 352 | + </td> |
| 353 | + <td> |
| 354 | + <span title="Whether the document is the result of a community consensus process as defined in RFC 5741">{{ consensus }}</span> |
| 355 | + </td> |
| 356 | + </tr> |
| 357 | + {% endif %} |
| 358 | + |
| 359 | + <tr> |
| 360 | + <th></th> |
| 361 | + <th>Telechat date</th> |
| 362 | + <td class="edit"> |
| 363 | + {% if can_edit %} |
347 | 364 | <a class="btn btn-default btn-xs" href="{% url "doc_change_telechat_date" name=doc.name %}">Edit</a> |
348 | | - {% endif %} |
349 | | - </td> |
350 | | - <td> |
351 | | - {% if telechat %} |
352 | | - On agenda of {{ telechat.telechat_date }} IESG telechat |
353 | | - {% if telechat.returning_item %} |
354 | | - (returning item) |
355 | 365 | {% endif %} |
356 | | - {% else %} |
357 | | - {% if can_edit %} |
358 | | - (None) |
| 366 | + </td> |
| 367 | + <td> |
| 368 | + {% if telechat %} |
| 369 | + On agenda of {{ telechat.telechat_date }} IESG telechat |
| 370 | + {% if telechat.returning_item %} |
| 371 | + (returning item) |
| 372 | + {% endif %} |
| 373 | + {% else %} |
| 374 | + {% if can_edit %} |
| 375 | + (None) |
| 376 | + {% endif %} |
359 | 377 | {% endif %} |
360 | | - {% endif %} |
361 | 378 |
|
362 | | - {% if ballot_summary %} |
363 | | - <br><i>{{ ballot_summary }}</i> |
364 | | - {% endif %} |
365 | | - </td> |
366 | | - </tr> |
| 379 | + {% if ballot_summary %} |
| 380 | + <br><i>{{ ballot_summary }}</i> |
| 381 | + {% endif %} |
| 382 | + </td> |
| 383 | + </tr> |
367 | 384 |
|
368 | | - <tr> |
369 | | - <th></th> |
370 | | - <th>Responsible AD</th> |
371 | | - <td class="edit"> |
372 | | - {% if can_edit %} |
373 | | - <a class="btn btn-default btn-xs" href="{% url "doc_change_ad" name=doc.name %}">Edit</a> |
374 | | - {% endif %} |
375 | | - </td> |
376 | | - <td> |
377 | | - {{ doc.ad|default:"(None)" }} |
378 | | - </td> |
379 | | - </tr> |
| 385 | + <tr> |
| 386 | + <th></th> |
| 387 | + <th>Responsible AD</th> |
| 388 | + <td class="edit"> |
| 389 | + {% if can_edit %} |
| 390 | + <a class="btn btn-default btn-xs" href="{% url "doc_change_ad" name=doc.name %}">Edit</a> |
| 391 | + {% endif %} |
| 392 | + </td> |
| 393 | + <td> |
| 394 | + {{ doc.ad|default:"(None)" }} |
| 395 | + </td> |
| 396 | + </tr> |
380 | 397 |
|
381 | | - {% if iesg_state %} |
382 | | - {% if doc.note or can_edit %} |
383 | | - <tr> |
384 | | - <th></th> |
385 | | - <th>IESG note</th> |
386 | | - <td class="edit"> |
387 | | - {% if can_edit %} |
388 | | - <a class="btn btn-default btn-xs" href="{% url "doc_change_iesg_note" name=doc.name %}">Edit</a> |
389 | | - {% endif %} |
| 398 | + {% if iesg_state %} |
| 399 | + {% if doc.note or can_edit %} |
| 400 | + <tr> |
| 401 | + <th></th> |
| 402 | + <th>IESG note</th> |
| 403 | + <td class="edit"> |
| 404 | + {% if can_edit %} |
| 405 | + <a class="btn btn-default btn-xs" href="{% url "doc_change_iesg_note" name=doc.name %}">Edit</a> |
| 406 | + {% endif %} |
390 | 407 | </td> |
391 | 408 | <td> |
392 | | - {{ doc.note|default:"(None)"|linebreaksbr }} |
| 409 | + {{ doc.note|default:"(None)"|linebreaksbr }} |
393 | 410 | </td> |
394 | 411 | </tr> |
| 412 | + {% endif %} |
395 | 413 | {% endif %} |
396 | | - {% endif %} |
397 | 414 |
|
398 | | - <tr> |
399 | | - <th></th> |
400 | | - <th>Send notices to</th> |
401 | | - <td class="edit"> |
402 | | - {% if can_edit_notify %} |
403 | | - <a class="btn btn-default btn-xs" href="{% url "doc_change_notify" name=doc.name %}">Edit</a> |
404 | | - {% endif %} |
405 | | - </td> |
406 | | - <td> |
407 | | - {{ doc.notify|default:"(None)"}} |
408 | | - </td> |
409 | | - </tr> |
| 415 | + <tr> |
| 416 | + <th></th> |
| 417 | + <th>Send notices to</th> |
| 418 | + <td class="edit"> |
| 419 | + {% if can_edit_notify %} |
| 420 | + <a class="btn btn-default btn-xs" href="{% url "doc_change_notify" name=doc.name %}">Edit</a> |
| 421 | + {% endif %} |
| 422 | + </td> |
| 423 | + <td> |
| 424 | + {{ doc.notify|default:"(None)"}} |
| 425 | + </td> |
| 426 | + </tr> |
410 | 427 |
|
411 | | - </tbody> |
| 428 | + </tbody> |
| 429 | + {% endif %} |
412 | 430 |
|
413 | 431 | {% if iana_review_state %} |
414 | 432 | <tbody class="meta"> |
|
0 commit comments