From fefff591b63c595152adadb8616bec7bfe8e700c Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Mon, 1 Dec 2008 18:23:18 +0100 Subject: [PATCH] Tried a little improvement of the layout. --- src/IDF/templates/idf/review/view.html | 11 +++++++---- www/media/idf/css/style.css | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/IDF/templates/idf/review/view.html b/src/IDF/templates/idf/review/view.html index 1ac07cd..cb2ca7c 100644 --- a/src/IDF/templates/idf/review/view.html +++ b/src/IDF/templates/idf/review/view.html @@ -2,7 +2,7 @@ {block extraheader}{/block} {block docclass}yui-t1{assign $inCreate = true}{/block} {block body} -{if $form.errors} +{if !$user.isAnonymous() and $form.errors}

{trans 'The form contains some errors. Please correct them to submit your review.'}

{if $form.get_top_errors} @@ -10,6 +10,8 @@ {/if}
{/if} + + +
@@ -43,9 +45,9 @@
{trans 'Created:'}{$patch.creation_dtime|date:"%Y-%m-%d %H:%M:%S"} ({$patch.creation_dtime|dateago}) {trans 'Archive'} {trans 'Download the corresponding diff file'}
- +
{if !$user.isAnonymous()} -
+

{trans 'How to Participate in a Code Review'}

{blocktrans}Code review is a process in which @@ -64,7 +66,8 @@ coding standards and the structure of the code and make them want to propose more contributions. {/blocktrans}

{/if} - +
{foreach $files as $file=>$def} diff --git a/www/media/idf/css/style.css b/www/media/idf/css/style.css index 0ca0af1..3a8f0ac 100644 --- a/www/media/idf/css/style.css +++ b/www/media/idf/css/style.css @@ -449,6 +449,11 @@ table td.fileicon { color: white; } +table.disp th, table.disp td { + border: none; + vertical-align: top; +} + /** * Commit */