# HG changeset patch # User Lennard de Rijk # Date 1237311312 0 # Node ID b779c7b109ffbfbd093a5ee7bf5bcf491d6ce176 # Parent e5fdea0ae89c88c0f1bfddbc4b1650802a669548 Moved subscription buttons to the top and comment placing to the bottom for StudentProposal review and public page. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r e5fdea0ae89c -r b779c7b109ff app/soc/templates/soc/student_proposal/public.html --- a/app/soc/templates/soc/student_proposal/public.html Tue Mar 17 17:19:30 2009 +0000 +++ b/app/soc/templates/soc/student_proposal/public.html Tue Mar 17 17:35:12 2009 +0000 @@ -23,6 +23,20 @@ {% endblock %} {% block body %} + + {% if is_subscribed %} + + {% else %} + + {% endif %} +
+ + + +
+

{% readonly_field_as_table_row entity.fields.title.label entity.title %} @@ -34,13 +48,7 @@

-
-Public Reviews -{% for review in public_reviews %} - {% as_student_proposal_review review student %} -{% endfor %} -
- +
{% block form_table %} @@ -55,19 +63,15 @@ - {% if is_subscribed %} - - {% else %} - - {% endif %}
- - - -
+
+Public Reviews +{% for review in public_reviews %} + {% as_student_proposal_review review student %} +{% endfor %} +
+ {% endblock %} diff -r e5fdea0ae89c -r b779c7b109ff app/soc/templates/soc/student_proposal/review.html --- a/app/soc/templates/soc/student_proposal/review.html Tue Mar 17 17:19:30 2009 +0000 +++ b/app/soc/templates/soc/student_proposal/review.html Tue Mar 17 17:35:12 2009 +0000 @@ -20,6 +20,31 @@ {% endblock %} {% block body %} + + {% if is_subscribed_public %} + + {% else %} + + {% endif %} + {% if is_subscribed_private %} + + {% else %} + + {% endif %} +
+ + + + + + + +
+

{% readonly_field_as_table_row entity.fields.title.label entity.title %} @@ -32,18 +57,8 @@ {% readonly_field_as_table_row "Last Modified on" entity.last_modified_on %}

-
-Public Reviews -{% for review in public_reviews %} - {% as_student_proposal_review review student %} -{% endfor %} -
-Private Reviews -{% for review in private_reviews %} - {% as_student_proposal_review review student %} -{% endfor %} -
+
{% block form_table %} @@ -77,29 +92,19 @@ onclick="location.href='?ineligible=1'"/> {% endif %} - {% if is_subscribed_public %} - - {% else %} - - {% endif %} - {% if is_subscribed_private %} - - {% else %} - - {% endif %}
- - - - - - - -
+
+Public Reviews +{% for review in public_reviews %} + {% as_student_proposal_review review student %} +{% endfor %} +
+Private Reviews +{% for review in private_reviews %} + {% as_student_proposal_review review student %} +{% endfor %} +
+ {% endblock %}