/doc/: show telechat date in search results list
- Legacy-Id: 2174
This commit is contained in:
parent
5d556822bc
commit
5a3bd287ec
|
@ -506,6 +506,14 @@ class IdRfcWrapper:
|
|||
return self.rfc.publication_date
|
||||
else:
|
||||
return self.id.publication_date
|
||||
|
||||
def telechat_date(self):
|
||||
if self.rfc and self.rfc.in_ietf_process():
|
||||
return self.rfc.ietf_process.telechat_date()
|
||||
elif self.id and self.id.in_ietf_process():
|
||||
return self.id.ietf_process.telechat_date()
|
||||
else:
|
||||
return None
|
||||
|
||||
def view_sort_group(self):
|
||||
if self.rfc:
|
||||
|
|
|
@ -242,7 +242,7 @@ def agenda_documents(request):
|
|||
w = RfcWrapper(ri)
|
||||
res[section_key].append(w)
|
||||
telechats.append({'date':date, 'docs':res})
|
||||
return direct_to_template(request, 'iesg/agenda_documents.html', {'telechats':telechats})
|
||||
return direct_to_template(request, 'iesg/agenda_documents.html', {'telechats':telechats, 'hide_telechat_date':True})
|
||||
|
||||
def discusses(request):
|
||||
positions = Position.objects.filter(discuss=1)
|
||||
|
|
|
@ -34,6 +34,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% load ietf_filters %}{% load ballot_icon %}
|
||||
<td class="status">
|
||||
{{ doc.friendly_state|safe }} {% if not doc.rfc %}{{ doc.id|state_age_colored|safe }}{% endif %}
|
||||
{% if not hide_telechat_date %}{% if doc.telechat_date %}<br/>IESG Telechat: {{ doc.telechat_date }}{% endif %}{% endif %}
|
||||
|
||||
{% block extra_status %}{% endblock %}
|
||||
{% if doc.rfc %}
|
||||
{% if doc.rfc.obsoleted_by %}<br />Obsoleted by {{ doc.rfc.obsoleted_by|urlize_ietf_docs }}{%endif %}
|
||||
|
|
Loading…
Reference in a new issue