From: Tara L Andrews Date: Fri, 16 Aug 2013 07:24:03 +0000 (+0200) Subject: Bugfix and test stexaminer help dialog. Fixes #21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmaweb.git;a=commitdiff_plain;h=0844ddeebb042ac91b556b6c65da3d5abd61a161 Bugfix and test stexaminer help dialog. Fixes #21 --- diff --git a/lib/stemmaweb/Controller/Stexaminer.pm b/lib/stemmaweb/Controller/Stexaminer.pm index e5c1aeb..ac4e005 100644 --- a/lib/stemmaweb/Controller/Stexaminer.pm +++ b/lib/stemmaweb/Controller/Stexaminer.pm @@ -48,7 +48,7 @@ sub index :Path :Args(2) { # Just show the 'Help/About' popup. $c->stash->{template} = 'stexaminer_help.tt'; $c->stash->{text_id} = $textid; - elsif( $tradition->stemma_count ) { + } elsif( $tradition->stemma_count ) { my $stemma = $tradition->stemma( $stemid ); my $svgstr = $stemma->as_svg(); $svgstr =~ s/\n/ /g; diff --git a/root/src/stexaminer_help.tt b/root/src/stexaminer_help.tt index f590e31..0f0b82b 100644 --- a/root/src/stexaminer_help.tt +++ b/root/src/stexaminer_help.tt @@ -25,5 +25,4 @@

To the right of the stemma graph is more detailed information about the variants at the selected location. It will show which reading was presumably the archetypal one in its calculated scenario, and it will list the source(s) of variation for each of the other readings. The non-archetypal readings can carry a variant type as well - this information is taken from any relationships that are defined for the text in the collation viewer and relationship mapper tool.

-[% END -%] [% PROCESS footer.tt %] \ No newline at end of file