# HG changeset patch # User Lennard de Rijk # Date 1237313011 0 # Node ID 71b3f3521a103b72c4829fcb37a8471b3c653543 # Parent 76688c4a26eb26aa95c0f980ac7b9df980b0cf69 Fixed layout for StudentProposal reviews. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 76688c4a26eb -r 71b3f3521a10 app/soc/content/css/soc-090417.css --- a/app/soc/content/css/soc-090417.css Tue Mar 17 18:02:11 2009 +0000 +++ b/app/soc/content/css/soc-090417.css Tue Mar 17 18:03:31 2009 +0000 @@ -481,8 +481,15 @@ } /* - * CUSTOM CLASSES + * STUDENT PROPOSAL REVIEWS */ +.studentproposalreview { + font-size: small; +} + +.studentproposalreview .title { + background-color: #e5ecf9; +} .studentproposalreview .student{ background: #d0f5a9; @@ -492,6 +499,11 @@ background: #f5f6ce; } + +/* + * CUSTOM CLASSES + */ + .todo { color: #cc0000; font-size: 80%; diff -r 76688c4a26eb -r 71b3f3521a10 app/soc/templates/soc/templatetags/_as_student_proposal_review.html --- a/app/soc/templates/soc/templatetags/_as_student_proposal_review.html Tue Mar 17 18:02:11 2009 +0000 +++ b/app/soc/templates/soc/templatetags/_as_student_proposal_review.html Tue Mar 17 18:03:31 2009 +0000 @@ -12,18 +12,20 @@ limitations under the License. {% endcomment %} -
  • -{% if from_student %} -
    -{% else %} -
    -{% endif %} -On {{ created|date:"jS F Y H:i" }} -{% if is_public %} -{{ author }} wrote: -{% else %} -{{ author }} gave a score of {{ score }} and wrote: -{% endif %} -

    {{ content|safe }}

    +
    +
    + On {{ created|date:"jS F Y H:i" }} + {% if is_public %} + {{ author }} wrote: + {% else %} + {{ author }} gave a score of {{ score }} and wrote: + {% endif %} +
    + {% if from_student %} +
    + {% else %} +
    + {% endif %} +

    {{ content|safe }}

    +
    -