From 0ee63b05498b8e7d48ee8358699e5a65b1f25386 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 Rebased March 5, 2014. --- .../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 9da9628..58a2b51 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 receive an email notification 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