Ignore:
Timestamp:
19/05/09 16:44:06 (11 years ago)
Author:
cbyrom
Message:

Improve look and feel of UI with tweaks to css + fix radio button
on search panel - set this explicitly as an input since htmlfill
doesn't handle the radio button defaults well + simplify template
logic for semantic search results + fix constraint summary string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/templates/browse/semantic.kid

    r4487 r5314  
    33        <div id="SemanticSearchResults"> 
    44            <span py:if="c.semAvailable">You could also try - 
    5                 <span py:if="c.synonyms !=[]">  
     5                <span py:if="c.synonyms">  
    66                    synonym(s): <span py:for="i,url in c.synonyms"><a href="$url">$i</a>&nbsp;</span> 
    7                     <span py:if="c.narrower!=[] or c.broader!=[]">;</span> 
     7                    <span py:if="c.narrower or c.broader">;</span> 
    88                </span> 
    9                 <span py:if="c.narrower !=[]">  
     9                <span py:if="c.narrower">  
    1010                    narrower search(s): <span py:for="i,url in c.narrower"><a href="$url">$i</a>&nbsp;</span> 
    11                     <span py:if="c.broader!=[]">;</span> 
     11                    <span py:if="c.broader">;</span> 
    1212                </span> 
    13                 <span py:if="c.broader !=[]">  
     13                <span py:if="c.broader">  
    1414                    broader search(s): <span py:for="i,url in c.broader"><a href="$url">$i</a>&nbsp;</span> 
    15                 </span>. 
     15                </span> 
    1616            </span> 
    1717            <span py:if="not c.semAvailable">No alternatives available$c.semError</span> 
Note: See TracChangeset for help on using the changeset viewer.