Fixed wrong usage of twoline_field in proposal view
The proposal view currently uses twoline_field to show the abstract
and contents of a proposal, which causes unbalanced tables and most
data shoved to the far right of the screen.
Patch by: "Matthew Wilkes" <matthew@matthewwilkes.co.uk>
Reviewed by: Sverre Rabbelier
--- a/app/soc/templates/soc/student_proposal/public.html Mon Apr 06 22:53:47 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/public.html Mon Apr 06 22:54:11 2009 +0000
@@ -41,8 +41,8 @@
<table>
{% readonly_field_as_table_row entity.fields.title.label entity.title %}
{% readonly_field_as_table_row "Student" student_name %}
- {% readonly_field_as_twoline_table_row entity.fields.abstract.label entity.abstract %}
- {% readonly_safe_field_as_twoline_table_row entity.fields.content.label entity.content %}
+ {% readonly_field_as_table_row entity.fields.abstract.label entity.abstract %}
+ {% readonly_safe_field_as_table_row entity.fields.content.label entity.content %}
{% readonly_url_field_as_table_row entity.fields.additional_info.label entity.additional_info %}
{% readonly_field_as_table_row "Created on" entity.created_on %}
{% readonly_field_as_table_row "Last Modified on" entity.last_modified_on %}
--- a/app/soc/templates/soc/student_proposal/review.html Mon Apr 06 22:53:47 2009 +0000
+++ b/app/soc/templates/soc/student_proposal/review.html Mon Apr 06 22:54:11 2009 +0000
@@ -51,8 +51,8 @@
{% readonly_field_as_table_row "Student" student_name %}
{% readonly_field_as_table_row "Mentor" mentor_name %}
{% readonly_field_as_table_row "Possible Mentors" possible_mentors %}
- {% readonly_field_as_twoline_table_row entity.fields.abstract.label entity.abstract %}
- {% readonly_safe_field_as_twoline_table_row entity.fields.content.label entity.content %}
+ {% readonly_field_as_table_row entity.fields.abstract.label entity.abstract %}
+ {% readonly_safe_field_as_table_row entity.fields.content.label entity.content %}
{% readonly_url_field_as_table_row entity.fields.additional_info.label entity.additional_info %}
{% readonly_field_as_table_row "Created on" entity.created_on %}
{% readonly_field_as_table_row "Last Modified on" entity.last_modified_on %}