When editing scores in the web interface, put the web browser approximately back...
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 28 Feb 2005 19:27:54 +0000 (19:27 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 28 Feb 2005 19:27:54 +0000 (19:27 +0000)
html/do-edit-scores.pl
html/templates/show-tournament.tmpl

index a6a498c..95006e0 100755 (executable)
@@ -79,5 +79,5 @@ $dbh->do('NOTIFY scores');
 $dbh->commit;
 $dbh->disconnect;
 
-ccbs::print_see_other('show-tournament.pl?id=' . $tournament);
+ccbs::print_see_other('show-tournament.pl?id=' . $tournament . '#round' . $round);
 
index 2fd12b2..b91f94c 100644 (file)
@@ -89,7 +89,7 @@
 [% END %]
 
 [% FOR r = rounds %]
-  <h2>Runde [% r.round %]</h2>
+  <h2><a name="round[% r.round %]">Runde [% r.round %]</a></h2>
 
   <div>