Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 5bec404420 Bug 22660: (follow-up) Improve asset handling, add linting
This patch makes some changes to the way assets are included based on
the value of the system preferece in order to minimize unnecessary
JavaScript includes.

The patch also adds HTML syntax-highlighting and linting like we have in
the system preferences editor.

Removed are two JS files which were not required.

To test, apply the patch and set the NewsToolEditor preference to
"CodeMirror."

 - Edit a news item and confirm that the contents of the
   editor show HTML syntax highlighting.
 - Test HTML linting by adding some malformed HTML (missing closing tag,
   for instance). The error should be highlighted.
 - Set the NewsToolEditor to "TinyMCE" and confirm that WYSIWYG editing
   still works correctly.

https://bugs.koha-community.org/show_bug.cgi?id=22600

Signed-off-by: Lisette Scheer <lisetteslatah@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-30 17:44:27 +02:00
..
access_files.tt
automatic_item_modification_by_age.tt
batch_delete_records.tt
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
batchMod-del.tt Bug 8132: Fix failing tests 2020-05-11 11:51:04 +01:00
batchMod-edit.tt Bug 8132: Adding message when deleting from the UI 2020-05-11 09:56:23 +01:00
batchMod.tt
cleanborrowers.tt Bug 25765: (QA follow-up) Use method directly in cleanborrowers 2020-07-23 11:17:27 +02:00
csv-profiles.tt Bug 5087: (QA follow-up) Rename the attribute to fit later API usage 2020-07-23 10:52:10 +02:00
export.tt
holidays.tt Bug 4985: Edit a calendar entry for all branches 2020-06-24 15:27:27 +02:00
import_borrowers.tt Bug 23473: (follow-up) Fix QA complaints (tabs, filters, Dumper) 2020-03-27 12:23:17 +00:00
inventory.tt
koha-news.tt Bug 22660: (follow-up) Improve asset handling, add linting 2020-07-30 17:44:27 +02:00
letter.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02: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
modborrowers.tt
overduerules.tt
picture-upload.tt
preview_letter.tt
problem-reports.tt Bug 25627: Fix class and id in body tag 2020-06-15 11:53:36 +02:00
quotes-upload.tt
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt
stockrotation.tt Bug 24156: move ColumnsSettings to TablesSettings 2020-06-25 10:51:59 +02:00
tools-home.tt Bug 25627: Move OPAC problem reports from administration to tools 2020-06-15 11:53:36 +02:00
upload-images.tt
upload.tt
viewlog.tt Bug 25968: Make logs sort by date descending as a default 2020-07-30 17:44:27 +02:00