better label for relmapper button
Tara L Andrews [Sun, 30 Sep 2012 14:02:42 +0000 (16:02 +0200)]
root/js/componentload.js
root/src/index.tt

index 424d7b9..ba8e48d 100644 (file)
@@ -47,10 +47,12 @@ function loadTradition( textid, textname, editable ) {
        $('#open_stemma_add').show();
        $('#open_stemma_edit').show();
        $('#open_textinfo_edit').show();
+       $('#relatebutton_label').text('View collation and edit relationships');
     } else {
        $('#open_stemma_add').hide();
        $('#open_stemma_edit').hide();
        $('#open_textinfo_edit').hide();
+       $('#relatebutton_label').text('View collation and relationships');
     }
 
     // Then get and load the actual content.
index ffc2642..e473c24 100644 (file)
@@ -73,7 +73,7 @@ var textOnLoad = "[% withtradition %]";
           </form>
           <form id="run_relater" action="" method="GET" name="run_relater">
             <div class="button" id="relater_button" onClick="$('#run_relater').submit()">
-              <span>Run relationship mapper</span>
+              <span id='relatebutton_label'>View collation and relationships</span>
             </div>
           </form>
       </div>