From f7fff97e266cf8403e3853663e2585a07f394ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 1 Mar 2012 16:25:05 +0100 Subject: [PATCH] Better layout of translating page --- html/translate.html | 6 +++--- media/css/style.css | 12 ++++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/html/translate.html b/html/translate.html index 64e438742..faca89e91 100644 --- a/html/translate.html +++ b/html/translate.html @@ -24,11 +24,11 @@ - - - +
{% trans "Source" %}{% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %} +{{ unit.source|fmttranslation }}
{{ unit.source|fmttranslation }} +{% if unit.is_plural %}{% trans "Translations" %}{% else %}{% trans "Translation" %}{% endif %} {{ form.checksum }} {{ form.target }}
diff --git a/media/css/style.css b/media/css/style.css index 01eb7ba90..33442d862 100644 --- a/media/css/style.css +++ b/media/css/style.css @@ -27,10 +27,6 @@ ul.footer li{ ul.footer a{ color:#333; } -table.translator th.source { - width: 30em; - max-width: 50%; -} h1 { padding: 0.5em; margin: 0; @@ -65,3 +61,11 @@ ul.breadcums li { width: 20px; height: 20px; } +td.translator { + width: 60em; + max-width: 50%; +} +td.translator textarea { + width: 100% +} +