source: MILK/trunk/milk_server/milk_server/templates/browse/semantic.kid @ 4487

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/MILK/trunk/milk_server/milk_server/templates/browse/semantic.kid@4487
Revision 4487, 1.0 KB checked in by cbyrom, 11 years ago (diff)

Further restructure of codebase - moving datamodels into ndgUtils to allow reuse + create visualise and browse sub structures to better
organise related code. Separate out some inner classes into their own
modules to make more visible.

Line 
1<html py:extends="'../ndgPage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">
2    <body>
3        <div id="SemanticSearchResults">
4            <span py:if="c.semAvailable">You could also try -
5                <span py:if="c.synonyms !=[]">
6                    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>
8                </span>
9                <span py:if="c.narrower !=[]">
10                    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>
12                </span>
13                <span py:if="c.broader !=[]">
14                    broader search(s): <span py:for="i,url in c.broader"><a href="$url">$i</a>&nbsp;</span>
15                </span>.
16            </span>
17            <span py:if="not c.semAvailable">No alternatives available$c.semError</span>
18        </div>
19    </body>
20</html>
Note: See TracBrowser for help on using the repository browser.