From 8ef0c4efce5004588fa2a6ed1acbcd8bf607cb4b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 5 Jun 2013 12:22:02 -0400 Subject: [PATCH] Bug 9032 [Template follow-up] Share a list (part 1: send the invitation) Content-Type: text/plain; charset=utf-8 This patch makes a few changes to the "share a list" template: - We don't use tables for layout of forms. This patch corrects the display of the share form to use Koha standard form markup. - Revise the confirmation message displayed after a list is shared to be more readable. - Add a link back to private lists to the confirmation message. - Add T:T markup to make this page display the left-hand navigation which is shown on other patron-related pages when a user is logged in. To test, apply this patch on top of other patches pending for Bug 9032 and confirm that the list share form looks correct and works correctly. Confirm that share confirmation page reads well. Signed-off-by: Marcel de Rooy --- .../opac-tmpl/prog/en/modules/opac-shareshelf.tt | 34 ++++++++++---------- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shareshelf.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shareshelf.tt index 63c17bc..9adebcc 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shareshelf.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shareshelf.tt @@ -24,25 +24,25 @@
- - - - - - - - - -
[% shelfname %]
- +
+
    +
  1. List name: [% shelfname %]
  2. +
  3. +
+
+ +
+ +
[% ELSIF op=='conf_invite' %] -

We have sent invitation emails to share list [% shelfname %] to the mail queue for [% approvedaddress %].

+

An invitation to share list [% shelfname %] has been sent to [% approvedaddress %].

[% IF failaddress %]

The following addresses appear to be invalid. Please correct them and try again. These are: [% failaddress %]

[% END %]

You will be notified if someone accepts your share within two weeks.

+

Return to your lists

[% ELSIF op=='accept' %] [%# TODO: Replace the following two lines %] @@ -57,11 +57,11 @@ [% IF ( OpacNav ) %] -
-
- [% INCLUDE 'navigation.inc' %] -
-
+
+
+ [% INCLUDE 'navigation.inc' IsPatronPage=1 %] +
+
[% END %] -- 1.7.7.6