3939#metabox { width: 99%; border:1px solid #cccccc; background:#edf5ff;margin-top:8px; padding:4px; margin-bottom:1em; }
4040#metatable { border: 0; border-spacing: 0; }
4141#metatable tr { vertical-align:top ;}
42- #metatools { padding:4px; border: 1px solid #cccccc; }
4342
4443#commentLog { margin-bottom: 1.5ex; }
4544.commentToggle { text-decoration: underline; color: blue; }
6261{% endblock %}
6362
6463{% block pagehead %}
65- < script type ="text/javascript ">
66- //<![CDATA[
67- function toggleComment ( n ) {
68- var el = document . getElementById ( "commentF" + n ) ;
69- var el2 = document . getElementById ( "commentS" + n ) ;
70- var el3 = document . getElementById ( "commentT" + n ) ;
71- if ( el . style . display == 'none' ) {
72- el . style . display = 'block' ;
73- el2 . style . display = 'none' ;
74- el3 . innerHTML = "" ; //[hide]";
75- } else {
76- el . style . display = 'none' ;
77- el2 . style . display = 'block' ;
78- el3 . innerHTML = "[show all]" ;
79- }
80- }
81- //]]>
82- </ script >
8364< link rel ="alternate " type ="application/atom+xml " href ="/feed/comments/{% if info.is_rfc %}rfc{{doc.rfc_number}}{% else %}{{doc.draft_name}}{% endif %}/ " />
84- {%endblock %}
65+ {% endblock %}
8566
8667{% block content %}
8768< h1 style ="margin-top:0; "> {% block doc_h1 %}{% endblock %}</ h1 >
@@ -104,13 +85,9 @@ <h1 style="margin-top:0;">{% block doc_h1 %}{% endblock %}</h1>
10485< div id ="ballot ">
10586< div id ="ballot_content ">
10687{% if ballot %}
107- {% if user|in_group:"Area_Director,Secretariat" %}
108- < div style ="position:absolute;right:0px; ">
109- < span id ="doc_ballot_button " class ="yui-button yui-link-button "> < span class ="first-child ">
110- < a href ="https://datatracker.ietf.org/cgi-bin/idtracker.cgi?command=open_ballot&id_document_tag={% if info.is_rfc %}{{doc.rfc_number}}{% else %}{{doc.tracker_id}}{% endif %} "> Edit position</ a >
111- </ span > </ span > </ div >
112- {% endif %}{# user in_group #}
88+ {% with 1 as doc_ballot_edit_button %}
11389{% include "idrfc/doc_ballot.html" %}
90+ {% endwith %}
11491{% endif %}
11592</ div >
11693</ div >
@@ -119,7 +96,7 @@ <h1 style="margin-top:0;">{% block doc_h1 %}{% endblock %}</h1>
11996< div id ="writeup_content ">
12097{% if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot %}
12198{% if user|in_group:"Area_Director,Secretariat" %}
122- < div style ="position:absolute;right:0px ; ">
99+ < div style ="margin-bottom:8px ; ">
123100< span id ="doc_writeup_edit_button " class ="yui-button yui-link-button "> < span class ="first-child ">
124101< a href ="https://datatracker.ietf.org/cgi-bin/idtracker.cgi?command=ballot_writeup&ballot_id={{doc.ietf_process.iesg_ballot.ballot_id}} "> Edit writeups</ a >
125102</ span > </ span > </ div >
@@ -162,8 +139,6 @@ <h2 style="margin-top:1em;">Document history</h2>
162139{% endblock %}{# content #}
163140
164141{% block scripts %}
165- < script type ="text/javascript ">
166- //<![CDATA[
167142var tabView = new YAHOO.widget.TabView('mytabs');
168143tabView.subscribe('activeIndexChange', function(e) {
169144if (e.newValue == 0) {
@@ -173,18 +148,28 @@ <h2 style="margin-top:1em;">Document history</h2>
173148document.getElementById('rfcText1').style.display = 'none';
174149document.getElementById('rfcText2').style.display = 'none';
175150} });
176-
177-
178151document.getElementById('writeup_content').style.display = 'block';
179152document.getElementById('ballot_content').style.display = 'block';
180153document.getElementById('history_content').style.display = 'block';
181- //]]>
182- </ script >
183154
184- {% endblock %}
155+ function toggleComment(n) {
156+ var el = document.getElementById("commentF"+n);
157+ var el2 = document.getElementById("commentS"+n);
158+ var el3 = document.getElementById("commentT"+n);
159+ if (el.style.display == 'none') {
160+ el.style.display = 'block';
161+ el2.style.display = 'none';
162+ el3.innerHTML = ""; //[hide]";
163+ } else {
164+ el.style.display = 'none';
165+ el2.style.display= 'block';
166+ el3.innerHTML = "[show all]";
167+ }
168+ }
169+ {% endblock scripts %}
185170
186171{% block content_end %}
187172< div id ="rfcText2 ">
188173{% block doc_text2 %}{% endblock %}
189174</ div >
190- {% endblock %}{# content_end # }
175+ {% endblock content_end % }
0 commit comments