gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] latest code


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] latest code
Date: Sun, 25 Sep 2011 11:50:15 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Sep 24, 2011 at 04:33:32PM -0700, Jim Busser wrote:

> 3) when you update the tooltip, by prepending the searched address, can you 
> reformat
> 
>       Number: 1234-5678

That is not the format number/unit are displayed. This is:

        'number': address['number'],
        'subunit': gmTools.coalesce(address['subunit'], u'', u'/%s'),
        'notes_subunit': gmTools.coalesce(address['notes_subunit'], u'', u' 
(%s)'),

        ' Number (Unit): %(number)s%(subunit)s%(notes_subunit)s\n'

> to
> 
>       Number (Unit): 1234 (5678)

The subunit notes (if any) are enclosed in parenthesis. Do
you still want the subunit to also be enclosed with "()" ?

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]