Multiple customizations to new Bootstrap version of My Account.
- Hide ebook info from displaying since we're not using it in PINES
- Fix wrapping problem with buttons on Holds page
- Add help popups to holds history and check out history pages
- Add PINES direction to contact their local library for assistance
- Remove hold order status (you are 1 of 17 holds)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
[% IF ctx.fines.grocery.size > 0 %]
<!-- Table for all non-circulation transactions -->
<div id='myopac_trans_div' class="mt-3">
- <div class="header_middle">
- <span class="acct_fines_header">
- <!-- Different heading when not able to pay -->
- [% IF myopac_cc_allowed %]
- [% l("Pay Selected Other Fines and Fees") %]
- [% ELSE %]
- [% l("Other Fines and Fees") %]
- [% END %]
- </span>
- </div>
+ <h3>
+ [% l("Charges On Your Account") %]
+ </h3>
+ <div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
[% IF myopac_cc_allowed %]
<div class="d-block d-md-none">
limit = ctx.circ_history_limit;
offset = ctx.circ_history_offset;
%]
-<h3>[% l('History of Checked Out Items') %]</h3>
+<h3>[% l('History of Checked Out Items') %] <a href="#" title="" data-toggle="tooltip" data-original-title="Control your check out history under Preferences > Search & History"><i class="fas fa-question-circle" aria-hidden="true"></i></a></h3>
<div style="padding:0px;">
[%
# In the sorting case, the size is the size of ALL the circ items. In the non-sorting case,
myopac_page = "circs";
parent="circs";
%]
-<h3>[% l('Items Checked Out') %]</h3>
+<h3>[% l('Current Items Checked Out') %]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<div id='myopac_checked_div'>
<div>
</td>
<td>
<span class="sr-only">Renewals Remaining</span>
- [% circ.circ.renewal_remaining %]
+ [% circ.circ.renewal_remaining %] <a href="#" title="" data-toggle="tooltip" data-original-title="You will be unable to renew items if other patrons have holds on them, if your account is expired, or if you have more than $10.00 in fines and fees."><i class="fas fa-question-circle" aria-hidden="true"></i></a>
</td>
[%
due_date = ctx.parse_datetime(circ.circ.due_date, circ.circ.circ_lib);
count = ctx.hold_history_ids.size;
%]
-<h3>[% l('Holds History') %]</h3>
+<h3>[% l('Holds History') %] <a href="#" title="" data-toggle="tooltip" data-original-title="Control your holds history under Preferences > Search & History"><i class="fas fa-question-circle" aria-hidden="true"></i></a></h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<div id='myopac_holds_div'>
<div>
l("Items on Hold");
END
%]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<div>
<div id='holds_main'>
<form method="post">
<div class="row">
- <div class="col-4 text-left">
+ <div class="col-6 text-left">
<div>
<button name="action" class="btn btn-action my-2" id="suspend" value="suspend" type="submit"><i class="fas fa-hand-paper" aria-hidden="true"></i> [% l("Suspend") %]</button>
</div>
</div>
- <div class="col-8">
+ <div class="col-6">
[% IF offset != 0 %]<a href='[% mkurl('holds', {limit => limit,offset => (offset - limit)}) %]'
><span class="np_nav_link classic_link btn btn-action">◄[% l('Previous') %]</span></a> [% END %]
%]
-<div id='myopac_bookbag_div container'>
+<h3>[% l('My Lists') %]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
+<div id='myopac_bookbag_div'>
<!-- new list creation -->
<div class="row">
<div>
<div id="acct_sum_block" class="container">
<h3>[% l('My Account Summary') %]</h3>
+ <div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<div class="row">
<div class="col-12">
<span [% IF ctx.expired_card %]class="danger"[% END %]>
<br><br>
[% IF ebook_api.enabled == 'true' %]
- <div class="col-12">
+ <div class="col-12" style="display:none;">
<a href="[% mkurl(ctx.opac_root _ '/myopac/ebook_circs') %]"
title="[% l('View My Checked Out E-Items') %]">
[% l("E-Items Checked out") %] (<span id="acct_sum_ebook_circ_total">-</span>)
</a>
</div>
- <div class="col-12">
+ <div class="col-12" style="display:none;">
<a href="[% mkurl(ctx.opac_root _ '/myopac/ebook_holds') %]"
title="[% l('View My E-Items On Hold') %]">
[% l("E-Items on Hold") %] (<span id="acct_sum_ebook_hold_total">-</span>)
</a>
</div>
- <div class="col-12">
+ <div class="col-12" style="display:none;">
<a href="[% mkurl(ctx.opac_root _ '/myopac/ebook_holds_ready') %]"
title="[% l('View My E-Items Ready for Pickup') %]">
[% l("E-Items Ready for Pickup") %] (<span id="acct_sum_ebook_hold_ready_total">-</span>)
%]
<h3>[% l('Payment History') %]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<div>
<div class="row my-2">
<div class="col-3 text-left">
display_single = (ctx.display_single_message.defined) ? ctx.display_single_message : 0;
%]
<h3 class="sr-only">[% l('My Messages') %]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
[% IF display_single;
PROCESS "opac/myopac/messages/single_message.tt2";
ELSE;
WRAPPER "opac/parts/myopac/base.tt2";
myopac_page = "prefs";
parent="prefs";
- prefs_page = 'prefs';
- can_call_action_trigger = 'true' %]
-
-<h3>[% l('Account Information and Preferences') %]</h3>
+ prefs_page = 'prefs' %]
+ <h3>[% l('Account Information and Preferences') %]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<div id="acct_info_main">
<table title="[% l('Account preference') %]" class='light_border table table-hover'>
<tbody id='myopac_summary_tbody'>
<h3>[% l('List Preferences') %]</h3>
+ <div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<form method='post'>
<table class="full-width table" id="acct_search_main"
can_call_action_trigger = 'true' %]
<h3>[% l('Notification Preferences') %]</h3>
+<div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
+<form method='post'>
+ [% setting = 'opac.hold_notify' %]
+ <input name='[% setting %]' type="hidden"
+ [% IF ctx.user_setting_map.$setting; %] value='[% ctx.user_setting_map.$setting | html %]' [% END %]/>
[% IF ctx.affectedChgs %]
[% # get hash of sms cariers keyed by id:
prefs_page = 'prefs_settings' %]
<h3>[% l('Search and History Preferences') %]</h3>
-
+ <div style="padding-bottom:10px;">[% l("PINES Account Tips") %]</div>
<form method='post' action="prefs_settings">
<table class="full-width table" id="acct_search_main"
</span>
[% END %]
</div>
+
[% END %]
{children => 0, parent => "parent", url => "messages", text => l("<i class='fas fa-envelope' aria-hidden='true'></i> <span class='sumNum'>[_1]</span>Messages", ctx.user_stats.messages.unread), name => l("Messages")},
{children => 3, parent => "parent",url => "circs", text => l("<i class='fas fa-book' aria-hidden='true'></i> <span class='sumNum'>[_1]</span>Items Checked Out", ctx.user_stats.checkouts.total_out), name = l("Circulations")},
- {children => 0, parent => "circs", url => "circs", text => l("<i class='fas fa-book-reader' aria-hidden='true'></i> Items Checked Out"), name=> l("Circulations")},
- {children => 0, parent => "circs", url => "ebook_circs", text => l("<i class='fas fa-desktop' aria-hidden='true'></i> E-Items Checked Out"), name => l("E-Items Checked Out")},
+ {children => 0, parent => "circs", url => "circs", text => l("<i class='fas fa-book-reader' aria-hidden='true'></i> Current Items Checked Out"), name=> l("Circulations")},
+
{children => 0, parent => "circs", url => "circ_history", text => l("<i class='fas fa-history' aria-hidden='true'></i> Check Out History"), name => l("Check Out History")},
{children => 5, parent => "parent",url => "holds", text => l("<i class='fas fa-clock' aria-hidden='true'></i> <span class='sumNum'>[_1]</span>Holds / <span class='sumNum'>[_2]</span> Ready", ctx.user_stats.holds.total, ctx.user_stats.holds.ready), name => l("Holds")},
{children => 0, parent => "holds", url => "holds", text => l("<i class='fas fa-hands' aria-hidden='true'></i> Items on Hold"), name => l("Holds")},
- {children => 0, parent => "holds", url => "ebook_holds", text => l("<i class='fas fa-desktop' aria-hidden='true'></i> E-Items on Hold"), name => l("E-Items on Hold")},
- {children => 0, parent => "holds", url => "ebook_holds_ready", text => l("<i class='fas fa-download' aria-hidden='true'></i> E-Items Ready for Checkout"), name => l("E-Items Ready for Checkout")},
+
+
{children => 0, parent => "holds", url => "hold_history", text => l("<i class='fas fa-history' aria-hidden='true'></i> Holds History"), name => l("Holds History")},
{children => 4, parent => "parent", url => "prefs", text => l("<i class='fas fa-cog' aria-hidden='true'></i> Preferences"),name => l("Preferences")},