team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00293
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 482: add uthmani scipt checkboxes and fix the default values updating for all
------------------------------------------------------------
revno: 482
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sat 2013-01-05 12:45:16 +0100
message:
add uthmani scipt checkboxes and fix the default values updating for all
other checkboxes
modified:
src/alfanous-django/templates/base.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 'src/alfanous-django/templates/base.html'
--- src/alfanous-django/templates/base.html 2013-01-04 20:22:10 +0000
+++ src/alfanous-django/templates/base.html 2013-01-05 11:45:16 +0000
@@ -217,7 +217,7 @@
<div>
<table>
<tr>
- <td colspan="4" style="background:url(/static/images/logo{{ image_extension }}.png); width:385px; height:200px;"> </td>
+ <td colspan="4" style="background:transparent url(/static/images/logo{{ image_extension }}.png); width:385px; height:200px;"> </td>
</tr>
<tr>
<td style="background:url(/static/images/main_table_02.png) no-repeat;width:50px;height:26px"> </td>
@@ -234,10 +234,18 @@
</table>
<br/>
-<input type="checkbox" name="fuzzy" value="True"/> <span class="xtitle">{{ _("Fuzzy search") }} </span>
-<input type="checkbox" name="vocalized" value="False"/> <span class="xtitle">{{ _("Unvocalized text") }} </span>
+
+
+
+<input type="checkbox" name="fuzzy" value="True" {{ params.fuzzy|yesno:"checked,," }} />
+ <span class="xtitle">{{ _("Fuzzy search") }} </span>
+<input type="checkbox" name="vocalized" value="False" {{ params.vocalized|yesno:"checked,," }} />
+ <span class="xtitle">{{ _("Unvocalized text") }} </span>
+<input type="checkbox" name="script" value="uthmani" {{ params.script|yesno:"checked,," }} />
+ <span class="xtitle">{{ _("Uthmani script") }} </span>
<br/>
+
<div class="donate-box" >
<a class="donate_button" target='_blank' href=''>{{ _("Donate") }}</a><br/>
</div>