← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 235: disable highlight of theme(chapter, topic, subtopic) and sajdah_type,

 

------------------------------------------------------------
revno: 235
git commit: 5f78a12e080ed95e8cef93d0fd6813ece8e1496a
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Thu 2012-06-07 20:52:24 +0100
message:
  disable  highlight of theme(chapter,topic, subtopic) and sajdah_type,
  highlight still enabled for Aya text
modified:
  src/alfanous/outputs.py


--
lp:~team4alfanous/alfanous/alfanous-git
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git

Your team Alfanous team is subscribed to branch lp:~team4alfanous/alfanous/alfanous-git.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'src/alfanous/outputs.py'
--- src/alfanous/outputs.py	2012-06-06 22:48:15 +0000
+++ src/alfanous/outputs.py	2012-06-07 19:52:24 +0000
@@ -459,9 +459,9 @@
 
 		           	"theme":{} if not aya_theme_info
 		                else	{
-				    		"chapter":H( r["chapter"] ),
-				    		"topic":H( r["topic"] ),
-				   		 "subtopic":H( r["subtopic"] )
+				    		"chapter": r["chapter"],
+				    		"topic":  r["topic"] ,
+				   		 "subtopic": r["subtopic"]
 				 	   },
 
 				"stat":  {} if not aya_stat_info
@@ -474,7 +474,7 @@
 				"sajda":{} if not aya_sajda_info
 		                else    {
 		    				"exist":( r["sajda"] == u"نعم" ),
-		    				"type":H( r["sajda_type"] ) if ( r["sajda"] == u"نعم" ) else None,
+		    				"type": r["sajda_type"]  if ( r["sajda"] == u"نعم" ) else None,
 		    				"id":N( r["sajda_id"] ) if ( r["sajda"] == u"نعم" ) else None,
 		    			}
 		    		}