Bug 27474: Improve link text when no avaliable printer profiles
authorAmy King <amyking386@gmail.com>
Wed, 20 Jan 2021 22:21:21 +0000 (22:21 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 22 Jan 2021 13:59:27 +0000 (14:59 +0100)
commit68cf7982e2afd57a5e3077c516fd8482bef00bb3
treeb10d1ccc816f492d503cf4a473faac173c34beb0
parent93240e2d39b04d6d86788a002b01c63b4c267c7f
Bug 27474: Improve link text when no avaliable printer profiles

Test plan:
1. Go to tools, click on label creator.
2. Make sure you have some(1-2) printer profiles free to attach to a
label template. You can do this by clicking on manage, printer profiles,
if there is a blank space under the "Template name" header, then it is
free to attach to a label template.
3. Click on add new label template.
4. Note how there is a drop down menu beside "Profile:", to select a
printer profile.
5. Assign all of the avaliable printer profiles by making new label templates.
6. Now woth no avaliable printer profiles, click on add a new label
template.
7. Note how there is a drop down menu beside "Profile:" only "No
Profile/Na" is avaliable to select.
8. Apply patch.
9. Repeat steps 2-6.
10. Now note how there is a link to make a new printer profile, under
the drop down menu next to "Profile:"

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt