Merge branch 'master' of github.com:tla/stemmatology
[scpubgit/stemmaweb.git] / root / src / relate.tt
index ee47b83..95af6d6 100644 (file)
@@ -1,6 +1,6 @@
 [% WRAPPER header.tt
        pagetitle = "Stemmaweb - Relationship mapper"
-       applicationjs = c.uri_for('/js/relationship.js')
+       applicationjs = c.uri_for("/js/relationship-" _ permission _ ".js")
        applicationstyle = c.uri_for('/css/relationship.css')
 %]
 <script type="text/javascript">
@@ -13,7 +13,7 @@ $(document).ready(function () {
 
        <div id="topbanner">
                <div id="bannerinfo">
-                       <a href="help/[% text_lang %]" title="Relationship mapper help" class="helptag">Help / About</a>
+                       <a href="help/[% text_lang %]" title="Relationship mapper help" class="helptag">Help / About</a> | <a href="[% c.uri_for( '/' ) %]?withtradition=[% textid %]" class="navlink">Return to index</a>
                </div>
                <h1>Relationship mapper</h1>
                <h2>[% text_title %]</h2>