1818
1919< h2 > Add Pre-Approval</ h2 >
2020
21- < p > You can register a pre-approved draft name. Then the WG Chair
22- approval step of WG -00 submissions is suspended for that draft name
21+ < p > You can register a pre-approved draft name. Then the chair
22+ approval step of group -00 submissions is suspended for that draft name
2323so a future submission is posted to the data tracker immediately.</ p >
2424
2525< p > When the revision 00 draft is submitted, the pre-approval will not
@@ -33,12 +33,12 @@ <h3>Instructions</h3>
3333like < code > .txt</ code > in the name.</ p >
3434
3535{% if user|has_role:"Secretariat" %}
36- < p > Only WG submissions are subject to approval and are thus pre-approvable.</ p >
36+ < p > Only group submissions are subject to approval and are thus pre-approvable.</ p >
3737{% else %}
38- < p > As WG Chair {% if groups|length > 1 %} of {{ groups|length }} groups{% endif %} you can pre-approve draft names on the form:
38+ < p > As chair {% if groups|length > 1 %} of {{ groups|length }} groups{% endif %} you can pre-approve draft names on the form (click to pre-fill) :
3939 < table >
4040 {% for g in groups %}
41- < tr > < td class ="name-template "> draft-ietf-{{ g.acronym }}-< i > something</ i > </ td > </ tr >
41+ < tr > < td class ="name-template "> draft-{% if g.type_id == "rg"%}irtf{% else %} ietf{% endif %} -{{ g.acronym }}-< i > something</ i > </ td > </ tr >
4242 {% endfor %}
4343 </ table >
4444</ p >
@@ -56,8 +56,8 @@ <h3>Instructions</h3>
5656
5757 < tr >
5858 < td class ="actions " colspan ="2 ">
59- < a href ="{% url "submit_approvals " %}#preapprovals"> Back </ a >
60- < input type ="submit " value ="Add pre-approval " />
59+ < a class =" button " href ="{% url "submit_approvals " %}#preapprovals"> Cancel </ a >
60+ < input class =" button " type ="submit " value ="Add pre-approval " />
6161 </ td >
6262 </ tr >
6363 </ table >
@@ -68,7 +68,8 @@ <h3>Instructions</h3>
6868{% block scripts %}
6969jQuery(function () {
7070 jQuery(".name-template").click(function (){
71- jQuery("form.add-preapproval input[name=name]").val(jQuery(this).text().replace("something", ""));
71+ // clear text first to make sure the cursor ends up at the end
72+ jQuery("form.add-preapproval input[name=name]").text("").focus().val(jQuery(this).text().replace("something", ""));
7273 });
7374});
7475{% endblock %}
0 commit comments