On Fri, Aug 15, 2008 at 12:54 PM, F Wolff <[EMAIL PROTECTED]> wrote:
> Hallo everybody
>
> I just cooked up this patch which needs some attention and feedback.
>
> When a user reviews a certain quality check, this patch will make the
> text (something like "reviewing xmltags") clickable to open a new window
> with the documentation of the quality checks here:
> http://translate.sourceforge.net/wiki/toolkit/pofilter_tests
>
> For some styling I'm adding a stock icon for "information", but it
> doesn't look quite as pretty as I'd like, and I'll appreciate some help.
> On my system I just used gtk-info.png, but other ideas might help to
> improve things.
>
> Any feedback appreciated.
> Friedel

I've used the information icon from the famfamfam's silk iconset[1],
and with some CSS it looks quite good for me.

I wouldn't use the target attribute as well, since in my opinion we
shouldn't force new windows on users[2].

Patch attached.

Julen.

[1] http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png
[2] http://www.smackthemouse.com/20030831
diff --git a/html/images/information.png b/html/images/information.png
new file mode 100644
index 0000000000000000000000000000000000000000..12cd1aef900803abba99b26920337ec01ad5c267
GIT binary patch
literal 778
zcmV+l1NHogP)<h;3K|[EMAIL PROTECTED]
zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBU!oJmAMR5;6}
zlgn$=R~*GZcTB8gOeQf3nTa-!([EMAIL PROTECTED];ZqApx?m2DMV`5y=hK32Z4
zrF5FEg<6`FhR&iJnZ_{H#59l57&FNv{mtC(z4z-vNPM&#J<Bg&J{&mb7**wcRP*K`
[EMAIL PROTECTED];ru8;m+XMPaeMdZ(eoq#g&nawQ{i|p~;@MMjF<x0bn6=
z3>BVme|mWaqy4$_pJm?y9KM{-*hp?1+Ey3e-CEDooTa!B;e(Q>TSF?bj>5At13y1p
[EMAIL PROTECTED]<[EMAIL PROTECTED]@N~g=sW=
zn!9%NQ4BzW>+5LH)Q)[EMAIL PROTECTED](LD$xXlt$7A5CgE@
zpV-&l%vf;[EMAIL PROTECTED]&=cuwt>!vJ^#(&n|LcZyUzi6Duj$$hJ1s*HD-#;k-w@
zpdrwAuoDG_N2bvb07G$Zk*?Hc)JLtW4yqOnic_$zO7NZ#l>Fm){;fE?b$IbOaX2fe
z0la4g0Dfw2xk7Wi7NapVD8YMPCZu?A1QCK*67dgsvRKBLFtrM>?$%&_lD1882mzdO
zWPdw5KWw6IT`m1b_8=lS5jt8D3=RDa=&jWzR-)[EMAIL PROTECTED])-wpXB>rNBQ>N
zU#K`#1B&v|_AQK;7I~B}OdGiUT9LX>f0xm6<;Le<?v8hEtmnbwS!SP?2`;dqv5sw9
zni(%Gaqov;mNB)bas%IF->P!=vFjPsUQF*wCJ*dO)[EMAIL PROTECTED]|q#K
[EMAIL PROTECTED];[EMAIL PROTECTED]&N!V2mjOHw|*<kAZXlKc;ul3#dPWds((2xc~qF07*qo
IM6N<$f<v}uGXMYp

literal 0
HcmV?d00001

diff --git a/html/pootle.css b/html/pootle.css
index 9e9db81..99b569c 100644
--- a/html/pootle.css
+++ b/html/pootle.css
@@ -550,6 +550,11 @@ div.info {
 	line-height:150%;
 	padding:2px;
 }
+
+.info {
+  vertical-align: top;
+}
+
 .account
 {
 }
diff --git a/templates/translatepage.html b/templates/translatepage.html
index de6e46d..134aa41 100644
--- a/templates/translatepage.html
+++ b/templates/translatepage.html
@@ -282,8 +282,9 @@
       <input name="doassign" type="submit" value="${assigns.submit_text}"/>
     </form>
 
-    <div class="side" py:if="defined('checking_text')" py:content="checking_text">
-      checking has-suggestion, etc
+    <div class="side" py:if="defined('checking_text')">
+      <img src="${baseurl}images/information.png" class="info" alt="" />
+      <a href="http://translate.sourceforge.net/wiki/toolkit/pofilter_tests"; py:content="checking_text">checking has-suggestion, etc</a>
     </div>
   </div>
   <div id="about" over:include="pootlepage#about"/>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to