Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Katrin Fischer 4a2cc4e903
Bug 14369: Only show 'Create labels' link on staged records import when status is imported
The label creator won't be able to add a batch for items, if they are
not imported into the database (missing itemnumber). This patch hides
the link, when the status is not imported, to avoid the error situation.

To test:
- Export a record with items from your Koha installation
- Delete items and record from Koha
- Stage the record with the items - the "Create labels" link should be showing
- Try to create the labels - note error
- Apply patch
- Retry - the link should no longer show
- Import the records - the link should show now
- Create labels again - a new batch should have been created
- Verify the link on the batch # leads to the batch in the labels module

Bonus: Moves the message from the .pl file to the template to make
it translatable.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-21 12:28:56 +01:00
..
access_files.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
automatic_item_modification_by_age.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
batch_delete_records.tt Bug 24124: Fix authorities selection in batch deletion tool in Chrome 2019-12-13 14:03:05 +00:00
batch_extend_due_dates.tt Bug 25020: Preserve time part when batch extending due dates 2020-04-03 14:29:00 +01:00
batch_record_modification.tt Bug 18127: Add missing html filters 2020-03-10 15:20:18 +00:00
batchMod-del.tt Bug 23987: "return to cataloguing" if the record is deleted from bachMod-del 2019-12-09 14:31:13 +00:00
batchMod-edit.tt Bug 25013: Fix capitalization: Edit Items on batch item edit 2020-04-03 14:26:34 +01:00
batchMod.tt Bug 21433: Update two-column templates with Bootstrap grid: Tools part 1 2018-11-08 02:18:46 +00:00
cleanborrowers.tt Bug 24484: Add explanatory text to batch patron deletion 2020-01-27 10:14:55 +00:00
csv-profiles.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
export.tt Bug 14647: Make spelling in file format pull downs match 2020-02-20 08:59:41 +00:00
holidays.tt Bug 22272: Calendar: When entering date ranges grey out dates in the past from the start date 2019-08-13 11:53:25 +01:00
import_borrowers.tt Bug 23473: (follow-up) Fix QA complaints (tabs, filters, Dumper) 2020-03-27 12:23:17 +00:00
inventory.tt Bug 24275: Apply anti-the to title column in inventory table 2020-01-15 13:53:51 +00:00
koha-news.tt Bug 24764: TinyMCE shouldnt do automatic code cleanup when editing HTML in News Feature 2020-04-14 08:29:47 +01:00
letter.tt Bug 23354: Add receipting to Pay page 2020-01-13 14:04:09 +00:00
manage-marc-import.tt Bug 14369: Only show 'Create labels' link on staged records import when status is imported 2020-04-21 12:28:56 +01:00
marc_modification_templates.tt Bug 17510: enable use of subfield 0 in MMT actions 2020-02-21 16:01:34 +00:00
modborrowers.tt Bug 20443: Move GetBorrowerAttributes to Koha::Patron->extended_attributes 2020-03-23 13:39:25 +00:00
overduerules.tt Bug 21435: Update two-column templates with Bootstrap grid: Tools part 3 2018-10-27 14:20:59 +00:00
picture-upload.tt Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
preview_letter.tt Bug 21795: Switch two-column templates to Bootstrap grid: Notices and slips 2018-12-26 20:47:03 +00:00
quotes-upload.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
quotes.tt Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
scheduler.tt Bug 21436: Update two-column templates with Bootstrap grid: Tools part 4 2019-01-04 03:13:48 +00:00
showdiffmarc.tt Bug 21436: Update two-column templates with Bootstrap grid: Tools part 4 2019-01-04 03:13:48 +00:00
stage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
stockrotation.tt Bug 22209: Move stock rotation stage and item forms into modals 2019-08-08 16:05:50 +01:00
tools-home.tt Bug 9422: (RM follow-up) Rebase Correction 2020-04-03 14:26:33 +01:00
upload-images.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
upload.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
viewlog.tt Bug 21190: Allow browsing the system logs for AUTH events 2020-04-14 16:13:39 +01:00