From: Tara L Andrews <tla@mit.edu> Date: Sun, 30 Sep 2012 14:02:42 +0000 (+0200) Subject: better label for relmapper button X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbd230592c1e76bbd4b52941b5a42bfee026ab8d;p=scpubgit%2Fstemmaweb.git better label for relmapper button --- diff --git a/root/js/componentload.js b/root/js/componentload.js index 424d7b9..ba8e48d 100644 --- a/root/js/componentload.js +++ b/root/js/componentload.js @@ -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. diff --git a/root/src/index.tt b/root/src/index.tt index ffc2642..e473c24 100644 --- a/root/src/index.tt +++ b/root/src/index.tt @@ -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>