team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00244
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 430: Hide the "undefined" value when the WUI user choose no translation, same
------------------------------------------------------------
revno: 430
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sun 2012-11-18 00:03:25 +0100
message:
Hide the "undefined" value when the WUI user choose no translation, same
as
#101
modified:
interfaces/web/wui/index.html
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'interfaces/web/wui/index.html'
--- interfaces/web/wui/index.html 2012-11-17 22:57:30 +0000
+++ interfaces/web/wui/index.html 2012-11-17 23:03:25 +0000
@@ -291,7 +291,7 @@
results += "] <br></span></p><br />";
results += "<p dir='ltr' align='center' style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'>";
- results += "<span style='font-family: \"Droid Sans\", Tahoma, \"Bitstream Vera Sans\", \"DejaVu Sans\", Verdana, Geneva, Arial, Sans-serif; line-height: 150%;'>"+ json.search.ayas[i].aya.traduction+ "</span></p>";
+ if (json.search.ayas[i].aya.traduction) results += "<span style='font-family: \"Droid Sans\", Tahoma, \"Bitstream Vera Sans\", \"DejaVu Sans\", Verdana, Geneva, Arial, Sans-serif; line-height: 150%;'>"+ json.search.ayas[i].aya.traduction+ "</span></p>";
results += "<br><p align='center' style=' margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;'>";
results += "<span style=' color:#808080;'>"