LP#
1984269: Bootstrap opac: display of tables on small screens
This incorporates a generic process to display vertical tables in the Bootstrap
opac in small screens by adding a 'mobile-title' attr to any <td> elements
of the table. This patch uses the copy_table.tt2 and results/table.tt2
as examples.
These two tables are best tested with bibs that contain items that have parts.
The results/table.tt2 is displayed by using the "Show More Details" button
on the results screen. When the screen is sized so that the tables become
vertical the parts column is not displayed. After the patch is applied
the parts column is displayed only on those bibs that contain parts.
For these two particular tables, it also refactors the method
in which the copies are numbered with the lists. Prior to the patch the
mobile display would show the copy number, but it would stop at 10 for both
of these tables, because that's what was defined in CSS. They should now
display a number for each table row displayed.
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>