[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 4bfa6c45b5b3553b86947b6e786a622ce4f842c8
Evergreen Git
git at git.evergreen-ils.org
Tue Apr 14 16:24:12 EDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_8 has been updated
via 4bfa6c45b5b3553b86947b6e786a622ce4f842c8 (commit)
from 192dc57619a1810cfa5096318dc0b1df856bf511 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4bfa6c45b5b3553b86947b6e786a622ce4f842c8
Author: Galen Charlton <gmc at esilibrary.com>
Date: Fri Apr 10 16:09:26 2015 +0000
LP#1442701: prune 'message_id' and 'single' CGI params from TPAC dashboard links
This patch fixes a bug where if one goes to the single patron
message view in TPAC, clicking on the 'Message' button in the
dashboard button bar does not return one to the list of messages, but
instead takes the user back to the single message the user was
viewing. This patch also prunes the CGI parameter from other
links in the patron dashboard.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/templates/opac/parts/topnav.tt2 b/Open-ILS/src/templates/opac/parts/topnav.tt2
index 89d57c0..aca62a8 100644
--- a/Open-ILS/src/templates/opac/parts/topnav.tt2
+++ b/Open-ILS/src/templates/opac/parts/topnav.tt2
@@ -24,7 +24,7 @@
<span class="dash_divider">|</span>
<span class="dash_account_buttons">
<div id="dash_user_message_button_container">
- <a href="[% mkurl(ctx.opac_root _ '/myopac/messages') %]" class="opac-button">
+ <a href="[% mkurl(ctx.opac_root _ '/myopac/messages', {}, ['single', 'message_id']) %]" class="opac-button">
[% l('Messages') %]
</a>
[% IF ctx.user_stats.messages.unread %]
@@ -34,9 +34,9 @@
</div>
[% END %]
</div>
- <a href="[% mkurl(ctx.opac_root _ '/myopac/main') %]"
+ <a href="[% mkurl(ctx.opac_root _ '/myopac/main', {}, ['single', 'message_id']) %]"
class="opac-button">[% l('My Account') %]</a>
- <a href="[% mkurl(ctx.opac_root _ '/myopac/lists') %]"
+ <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {}, ['single', 'message_id']) %]"
class="opac-button">[% l('My Lists') %]</a>
<a href="[% mkurl(ctx.opac_root _ '/logout', {}, 1) %]"
class="opac-button" id="logout_link">[% l('Logout') %]</a>
@@ -44,25 +44,25 @@
</div>
<div id="dashboard">
<span class="dash-align">
- <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/circs', {}, ['limit','offset'])
+ <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/circs', {}, ['limit','offset', 'single', 'message_id'])
%]"><span id="dash_checked">[% ctx.user_stats.checkouts.total_out
%]</span> [% l("Checked Out") %]</a>
</span>
<span class="dash_divider">|</span>
<span class="dash-align">
- <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/holds', {}, ['available'])
+ <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/holds', {}, ['available', 'single', 'message_id'])
%]"><span id="dash_holds">[% ctx.user_stats.holds.total
%]</span> [% l("On Hold") %]</a>
</span>
<span class="dash_divider">|</span>
<span class="dash-align">
<a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/holds',
- {available => 1}) %]"><span id="dash_pickup">[%
+ {available => 1}, ['single', 'message_id']) %]"><span id="dash_pickup">[%
ctx.user_stats.holds.ready %]</span> [% l("Ready for Pickup") %]</a>
</span>
<span class="dash_divider">|</span>
<span class="dash-align">
- <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/main')
+ <a class="dash-link" href="[% mkurl(ctx.opac_root _ '/myopac/main', {}, ['single', 'message_id'])
%]"><span id="dash_fines">[% money(ctx.user_stats.fines.balance_owed)
%]</span> [% l("Fines") %]</a>
</span>
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/parts/topnav.tt2 | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list