From 25f1d760a09f745bf563e45fd6112253b7b88f2b Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 20 Sep 2010 12:37:35 +0000 Subject: [PATCH] Show 'None' in the IDInternal.via_rfc_editor field as '0' in the /iesg/agenda/documents.txt view. Set the field to 0 as default. - Legacy-Id: 2525 --- ietf/idrfc/views_edit.py | 1 + ietf/templates/iesg/agenda_documents.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ietf/idrfc/views_edit.py b/ietf/idrfc/views_edit.py index c83e50a79..bc39d3302 100644 --- a/ietf/idrfc/views_edit.py +++ b/ietf/idrfc/views_edit.py @@ -194,6 +194,7 @@ def edit_info(request, name): # would be better to use NULL to # signify an empty ballot ballot_id=get_new_ballot_id(), + via_rfc_editor = False, ) if doc.idinternal.agenda: diff --git a/ietf/templates/iesg/agenda_documents.txt b/ietf/templates/iesg/agenda_documents.txt index 677ee807b..a36772a20 100644 --- a/ietf/templates/iesg/agenda_documents.txt +++ b/ietf/templates/iesg/agenda_documents.txt @@ -31,4 +31,4 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. {% endcomment %}# Fields: telechat date, filename (draft-foo-bar or rfc1234), intended status, rfc editor submission flag (0=no, 1=yes), area acronym, AD name, version{% for doc in docs %} -{{ doc.telechat_date }} {{ doc.document.filename }} {{ doc.document.intended_status }} {{doc.via_rfc_editor}} {{doc.area_acronym|lower}} {{doc.token_name }} {{doc.document.revision}}{% endfor %} \ No newline at end of file +{{ doc.telechat_date }} {{ doc.document.filename }} {{ doc.document.intended_status }} {{doc.via_rfc_editor|yesno:"1,0,0"}} {{doc.area_acronym|lower}} {{doc.token_name }} {{doc.document.revision}}{% endfor %} \ No newline at end of file