Koha-clms/koha-tmpl
Fridolyn SOMERS 04be64ec3e Bug 11214: improve create/edit routing list links in serial collection page
When a subscription has no routing list yet, the page
serials/subscription-detail.pl shows in left menu : "Create routing list".
In serials/serials-collection.pl page, the link in table is always
"Edit routing list", even when there is no routing list.

This patch adds a conditionnal link "Edit routing list"/"Create routing
list" into serials/serials-collection.pl page.

Test plan :
- Create a subscription no. 1 without routing list and a subscription
  no. 2 with a routing list
- Go to serials/serials-collection.pl of subscription no. 1
=> You see "Create routing list" link
- Click on link
=> You see "Create routing list for"
- Go to serials/serials-collection.pl of subscription no. 2
=> You see "Edit routing list" link
- Click on link
=> You see "Edit routing list for ..."

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
Functional and automated tests pass. Passes koha-qa.pl.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
With the patch applied the serial collection page shows the
right link depending on the existance of a routing list.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 0c631934de)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
2013-12-13 15:39:19 +01:00
..
intranet-tmpl Bug 11214: improve create/edit routing list links in serial collection page 2013-12-13 15:39:19 +01:00
opac-tmpl Bug 11105: wrap places OPAC facet in a span 2013-12-13 14:53:33 +01:00
favicon.ico
…
index.html
…
intranet.html
…
opac.html
…
templates.readme
…