# HG changeset patch # User Sverre Rabbelier # Date 1236896954 0 # Node ID 0c4fd663704b523fafdbb5335c96f524f716df08 # Parent 5cc9e055a818cdd05525d584b5fc7415dcf65c9e Some code re-use in templates As a side-effect the pre-accept and pre-accept are now first, rather then mingled with the other buttons. Patch by: Sverre Rabbelier diff -r 5cc9e055a818 -r 0c4fd663704b app/soc/templates/soc/group_app/review.html --- a/app/soc/templates/soc/group_app/review.html Thu Mar 12 21:38:40 2009 +0000 +++ b/app/soc/templates/soc/group_app/review.html Thu Mar 12 22:29:14 2009 +0000 @@ -34,15 +34,16 @@

-{% block buttons %} +{% block buttons %} +{% endblock buttons %} -{% endblock buttons %} + {% endblock body %} diff -r 5cc9e055a818 -r 0c4fd663704b app/soc/templates/soc/org_app/review.html --- a/app/soc/templates/soc/org_app/review.html Thu Mar 12 21:38:40 2009 +0000 +++ b/app/soc/templates/soc/org_app/review.html Thu Mar 12 22:29:14 2009 +0000 @@ -31,15 +31,9 @@ {% readonly_field_as_twoline_table_row entity.fields.ideas.label entity.ideas %} {% readonly_safe_field_as_twoline_table_row entity.fields.contrib_template.label entity.contrib_template %} {% endblock %} + {% block buttons %} - - - - - - - - + {{ block.super }} {% endblock buttons %}