From: senator Date: Thu, 27 Jan 2011 17:04:11 +0000 (-0500) Subject: This isn't the time/place for finesse, but these tweaks make development easier X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=28b6d639f81d572b5f85be78be6b6cb6d4c6979b;p=evergreen%2Fequinox.git This isn't the time/place for finesse, but these tweaks make development easier --- diff --git a/Open-ILS/web/templates/default/opac/myopac/_links.tt2 b/Open-ILS/web/templates/default/opac/myopac/_links.tt2 index bbac0ae34b..b0341985db 100644 --- a/Open-ILS/web/templates/default/opac/myopac/_links.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/_links.tt2 @@ -1,4 +1,4 @@ -[% +
[% pages = [ {url => "main", name => "My Account"}, {url => "circs", name => "Items Out"}, @@ -7,11 +7,14 @@ pages = [ {url => "prefs", name => "Account Preferences"}, {url => "bookbags", name => "My Bookbags"} ]; -FOREACH page IN pages; - IF page.url != myopac_page %] [% END; +FOREACH page IN pages %] + + [% IF page.url != myopac_page %][% END; page.name; IF page.url != myopac_page %] - [% ELSE; - ctx.page_title = page.name; - END; -END %] + [% ELSE; ctx.page_title = page.name; END %] +[% END %]
+