source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/stubB.kid @ 2646

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/stubB.kid@2646
Revision 2646, 2.0 KB checked in by lawrence, 13 years ago (diff)

Interim check in for citation trackback support and
metadata correction from logged in ndg users.

Line 
1<html py:extends="'ndgPage.kid'" xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">
2
3    <head py:replace="pagehead()"/>
4    <body>
5    <div id="entirepage">
6        ${XML(c.tbinfo)}
7        <div py:replace="header()"/>
8        <!--! The if on the call to the left panel needs to be here for subtle css reasons -->
9        <div py:if="'ndgSec' in session" py:replace="leftpanel()" id="Left"/>
10        <?python
11        id="contents"
12        if "ndgSec" in session: id="contentsRight"
13        ?>
14        <div id="${id}">
15           
16            <p>Stub-B viewing not fully implemented</p><hr/>
17            <div class="metadata">
18                <div id="title">$c.doc.name</div>
19                <div id="abstract">$c.doc.abstract</div>
20                <p py:if="c.doc.citation!=''">Citation<br/><span class="citation">$c.doc.citation</span></p>
21                <div py:if="c.doc.description.descriptionType in ['','text/plain']">
22                    <div class="description"><p>$c.doc.description.description</p></div>
23                </div>
24                <div py:if="c.doc.description.descriptionType not in ['','text/plain']">
25                    <div class="description"><p>Description of $c.doc.description.descriptionType ommitted</p></div>
26                </div>
27                <div py:if="c.doc.description.onlineRefs!=[]">
28                    <p> Simple Links:<ul>
29                        <li py:for="l in c.doc.description.onlineRefs"><a href="${l[1]}">${l[0]}</a></li>
30                    </ul></p>
31                </div>
32            </div> <!-- Metadata Div Ends -->
33       
34            <div id="Corrections">
35            <p> Please use this
36                <span py:if="'ndgSec' in session">
37                    ${XML(h.link_to_remote("link",dict(update="Corrections", url=h.url_for(action='askCorrect'))))}
38                </span> to enter any errors in the metadata record above.
39            </p>
40            </div>
41        </div>
42        <div py:replace="footer()"/>
43    </div>
44    </body>
45</html>
Note: See TracBrowser for help on using the repository browser.