Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Pasi Kallinen 0ea17a6a76 Bug 11885: fix inconsistent HTML in MARC Details
In Catalog > MARC Details, the HTML in the different tabs is slightly
inconsistent and doesn't differentiate different elements, making CSS
styling complicated or impossible:

* tab 0 has <p class="subfield_line"> whereas all the other tabs
  have just <p>

* all other tabs wrap the subfield character in <b> tags, except
  for tab 0

* the MARC tag title is a single div with the tag, the indicators
  and the field description.

Attached patch folds all the tab outputs into a single TT BLOCK,
which is then reused. It also marks the separate parts of the tag
title in their own spans.

The output should be nearly identical to previous behaviour, minus
a dash from the tag title descriptions - it was used to separate
the tag from the description. The description can now be styled
separately from the tag itself, so the dash can be added with CSS,
if necessary.

Revised test:
1) Find a biblio
2) Edit the record so that there is something in every tab (0-9).
3) Save and then click 'MARC' in the left pane to view the
    MARC details.
4) Note the contents of each tab.
5) Apply patch
6) Compare the MARC details output to what was noted. Should
   be the same, minus a dash in each of the tag title descriptions.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-04-11 14:47:19 +00:00
..
acqui Bug 11366: make "no group" option in acq basket group drop-down translatable 2014-03-13 14:43:01 +00:00
admin Bug 7413: (follow-up) tweak description of the AllowRenewalLimitOverride syspref 2014-04-08 23:28:32 +00:00
authorities Bug 10691: use authority ID in see-also links in authority search results (staff) 2014-01-16 22:35:58 +00:00
basket Bug 9218: fix intranet cart email for non english templates 2013-10-31 23:53:25 +00:00
batch Bug 9210: wrap long lines in printed hold notices 2014-01-15 15:51:44 +00:00
catalogue Bug 11885: fix inconsistent HTML in MARC Details 2014-04-11 14:47:19 +00:00
cataloguing Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
circ Bug 11711 - Use new DataTables include in circ templates 2014-04-08 23:47:27 +00:00
course_reserves Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
errors
help Bug 11403: (follow-up) Fix typo in renew help 2014-03-14 14:43:02 +00:00
installer
labels Bug 11946 - add table sorters to label batches 2014-03-31 14:22:26 +00:00
members Bug 11855: remove unused template file 2014-04-08 23:43:53 +00:00
offline_circ
patron_lists Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
patroncards Bug 12018 - add table sorting to patron card batches 2014-04-03 14:59:30 +00:00
plugins
reports Bug 11718 - Use new DataTables include in reports templates 2014-03-12 17:33:25 +00:00
reserve Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
reviews
rotating_collections
serials Bug 11938: fix capitalization: Serial prediction pattern preview - Publication Date 2014-03-17 15:21:32 +00:00
services
sms
suggestion Bug 11686: make "please note your reason here..." translatable 2014-03-12 14:26:36 +00:00
tags Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
test
tools Bug 12056: fix untranslatable strings in calendar 2014-04-09 22:09:09 +00:00
virtualshelves Bug 12034: standardize alerts referring to lists and list items 2014-04-04 15:31:42 +00:00
z3950
about.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00