From: senator Date: Wed, 26 Jan 2011 15:23:00 +0000 (-0500) Subject: myopac primitive framework X-Git-Tag: opac-tt-poc-demo2~87^2~4 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=92b79385fb5eb1c6be1270345f731f250880f138;p=evergreen%2Fequinox.git myopac primitive framework --- diff --git a/Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm index 676781f266..460e0511d2 100644 --- a/Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm +++ b/Open-ILS/src/perlmods/OpenILS/WWW/EGCatLoader.pm @@ -386,6 +386,8 @@ sub load_record { # context additions: # user : au object, fleshed sub load_myopac { + # XXX This crashes on session timeout, so somewhere around here we need to + # add handling for that my $self = shift; $self->ctx->{page} = 'myopac'; diff --git a/Open-ILS/web/templates/default/opac/myopac/bookbags.tt2 b/Open-ILS/web/templates/default/opac/myopac/bookbags.tt2 new file mode 100644 index 0000000000..6e359d40ef --- /dev/null +++ b/Open-ILS/web/templates/default/opac/myopac/bookbags.tt2 @@ -0,0 +1,14 @@ +[% BLOCK html_head %] + +[% END %] + +[% WRAPPER "default/opac/base.tt2" %] +[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "bookbags" %] +

XXX TODO

+ +[% END %] diff --git a/Open-ILS/web/templates/default/opac/myopac/fines.tt2 b/Open-ILS/web/templates/default/opac/myopac/fines.tt2 new file mode 100644 index 0000000000..cf9d23c5c1 --- /dev/null +++ b/Open-ILS/web/templates/default/opac/myopac/fines.tt2 @@ -0,0 +1,22 @@ +[% BLOCK html_head %] + +[% END %] + +[% WRAPPER "default/opac/base.tt2" %] +[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "fines" %] + + + + + + + + +
Total OwedTotal PaidBalance Owed
+ +[% END %] diff --git a/Open-ILS/web/templates/default/opac/myopac/items_held.tt2 b/Open-ILS/web/templates/default/opac/myopac/items_held.tt2 new file mode 100644 index 0000000000..3954298014 --- /dev/null +++ b/Open-ILS/web/templates/default/opac/myopac/items_held.tt2 @@ -0,0 +1,29 @@ +[% BLOCK html_head %] + +[% END %] + +[% WRAPPER "default/opac/base.tt2" %] +[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "items_held" %] + + + + + + + + + + + + + + + +
TitleAuthorFormatsPickup LocationStatusActiveActivate on...Expiration DateSelectEdit
+ +[% END %] diff --git a/Open-ILS/web/templates/default/opac/myopac/items_out.tt2 b/Open-ILS/web/templates/default/opac/myopac/items_out.tt2 new file mode 100644 index 0000000000..ca93991b64 --- /dev/null +++ b/Open-ILS/web/templates/default/opac/myopac/items_out.tt2 @@ -0,0 +1,24 @@ +[% BLOCK html_head %] + +[% END %] + +[% WRAPPER "default/opac/base.tt2" %] +[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "items_out" %] + + + + + + + + + + +
TitleAuthorDue DateRenewals RemainingRenewals Remaining
+ +[% END %] diff --git a/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 b/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 new file mode 100644 index 0000000000..d9a60ba1fe --- /dev/null +++ b/Open-ILS/web/templates/default/opac/myopac/prefs.tt2 @@ -0,0 +1,15 @@ +[% BLOCK html_head %] + +[% END %] + +[% WRAPPER "default/opac/base.tt2" %] +[% INCLUDE "default/opac/myopac/_links.tt2" myopac_page = "prefs" %] +

XXX TODO Need to find out whether the list of pref fields can/should be generated + from db entries or something.

+ +[% END %]