From: senator Date: Mon, 14 Mar 2011 16:02:39 +0000 (-0400) Subject: hide edit link in myopac/holds. show basic user info in myopac/prefs X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=7391bf1940803d95c54b40d9695ec6a9739e0e0a hide edit link in myopac/holds. show basic user info in myopac/prefs --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm index 5195b8d..54c1803 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm @@ -19,7 +19,7 @@ sub load_myopac { { flesh => 1, flesh_fields => { - au => ['card'] + au => [qw/card home_ou addresses ident_type/] # ... } } diff --git a/Open-ILS/web/css/skin/default/opac/semiauto.css b/Open-ILS/web/css/skin/default/opac/semiauto.css index 602c9d2..60fd1df 100644 --- a/Open-ILS/web/css/skin/default/opac/semiauto.css +++ b/Open-ILS/web/css/skin/default/opac/semiauto.css @@ -143,7 +143,7 @@ .opac-auto-158 { text-align: center; margin-top: 6px; margin-bottom: 6px } .opac-auto-159 { text-align: center; padding: 20px; width: 100% } .opac-auto-160 { text-align: center; padding-bottom: 8px; } -.opac-auto-161 { text-align: right; padding-right: 7px; } +.opac-auto-161 { text-align: right; padding-right: 7px; width: 62px; } .opac-auto-162 { vertical-align: top; } .nowrap { white-space: nowrap; } .opac-auto-164 { white-space: nowrap; padding-left: 5px; } diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 324e2ff..d095b1d 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -949,3 +949,4 @@ div.select-wrapper:hover { } .subtle-button:hover { text-decoration: underline; cursor: pointer; } .no-dec:hover { text-decoration: none; } +.pending-addr td { background-color: #ffcccc !important; border: 0 !important; } diff --git a/Open-ILS/web/templates/default/opac/myopac/holds.tt2 b/Open-ILS/web/templates/default/opac/myopac/holds.tt2 index 8babf82..fc56d54 100644 --- a/Open-ILS/web/templates/default/opac/myopac/holds.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/holds.tt2 @@ -205,13 +205,12 @@ %] - - Edit + + [% END %] diff --git a/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 b/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 index 9f6177a..ebfbebd 100644 --- a/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 @@ -3,7 +3,7 @@ "default/opac/parts/myopac/base.tt2"; myopac_page = "prefs" %]
-
-
+
-->
@@ -285,16 +285,12 @@ [% l("Name") %] - + [% l( + HUMAN_NAME_FORMAT, + ctx.user.prefix, ctx.user.first_given_name, + ctx.user.second_given_name, ctx.user.family_name, + ctx.user.suffix + ) | html %] @@ -304,7 +300,7 @@ [% l("Day Phone") %] + id='myopac_summary_dayphone'>[% ctx.user.day_phone | html %] + id='myopac_summary_eveningphone'>[% ctx.user.evening_phone | html %] + id='myopac_summary_otherphone'>[% ctx.user.other_phone | html %]
-
Username Help + id='myopac_summary_username'>[% ctx.user.usrname | html %] [% l("Change") %] + style='text-decoration: underline;'>[% l("Change") %] - + @@ -453,17 +446,14 @@ - @@ -472,9 +462,7 @@ 'myopac_update_span'>[% l("Re-enter new password:") %] @@ -490,23 +478,19 @@ - + + style='text-decoration: underline;'>[% l("Change") %] - + - + [% IF ctx.user.ident_value %] - - + - + [% END %] - + @@ -544,21 +531,17 @@ - + + style='text-decoration: underline;'>[% l("Change") %] - +
+ size='24' />
[% l("Enter new password:") %] +
- +
[% l("Email Address") %][% ctx.user.email | html %] [% l("Change") %]
[% l("Enter new email address:") %] - +
[% l("Primary Identification") %] + [% + # l('[_1] ([_2])', ctx.user.ident_value, ctx.user.ident_type.name) | html + # XXX uncomment the above line to show primary + # identification. With a minor tweak it could + # alternatively be shown but partially obscured. %] +
[% l("Active Barcode") %][% ctx.user.card.barcode %]
[% l("Home Library") %][% ctx.user.home_ou.name %] [% l("Change") %]
New home library: -