Commits

conn...@dirk.w3.org  committed d8ded12

some work on summary field; some future plans about templates etc

  • Participants
  • Parent commits 73f97a9

Comments (0)

Files changed (1)

 
   - support a form of payee smushing on label
 
- - make URIs for accounts, categories, classses, payees
+ - use kid templates rather than markup inside code
+
+ - support the "num is local time" idiom as a transforming filter
+ 
+ - make URIs for accounts, categories, classes, payees
 
  - support round-trip with QIF; sync back up with RDF export work in grokTrx.py
 
 	  (num or trxty or '', trx['acct']))
 
         for split in splits:
-	    w("<tr class='split'><td></td><td>%s</td><td>%s</td>"
+	    w("<tr class='split description'><td></td><td>%s</td><td>%s</td>"
 	      "<td>%s</td><td class='amt'>%s</td></tr>\n" %
 	      (xmldata(split.get('memo', '')),
 	       split.get('clr', ''),
 	try:
 	    fn, locality, region, postcode = citySt(desc)
 	except IndexError:
-	    w("<%s>%s</%s>" % (elt, xmldata(desc), elt))
+	    w("<%s class='summary'>%s</%s>" % (elt, xmldata(desc), elt))
 	else:
-	    w('<td class="vcard"><b class="fn org">%s</b> ' % xmldata(fn))
+	    w('<td class="location vcard"><b class="summary fn org">%s</b> ' %
+              xmldata(fn))
 	    w('<span class="adr">' \
 	      '<span class="locality">%s</span> ' \
 	      '<abbr class="region" title="%s">%s</abbr>' % \
 	    w('</span>')
 	    w('</td>')
     else:
-	w('<td class="vcard"><b class="fn org">%s</b> ' % xmldata(fn))
+	w('<td class="location vcard"><b class="summary fn org">%s</b> ' % xmldata(fn))
 	w('<a class="tel" href="tel:%s">%s</a> ' % (teli, tel))
 	if region:
 	    w('<span class="adr"><span class="region">%s</span></span>' % \