gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] latest code


From: Jim Busser
Subject: Re: [Gnumed-devel] latest code
Date: Sun, 25 Sep 2011 08:24:31 -0700

On 2011-09-25, at 2:50 AM, Karsten Hilbert wrote:

> 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 "()" ?

What about
- separating the unit value from the number by using a space
- making it clear (in the case that both a number and unit are offered) that 
the second sequence represent a Unit by including a label to that effect
- keeping the notes (if any) in parens:

Number Unit (notes): 1234 5678 (foo)

?

-- Jim


reply via email to

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