Link from copies to library info page
authorDan Scott <dscott@laurentian.ca>
Tue, 17 Dec 2013 21:29:35 +0000 (16:29 -0500)
committerDan Scott <dscott@laurentian.ca>
Tue, 17 Dec 2013 21:34:17 +0000 (16:34 -0500)
commit979c3896d066d5229b1663093ad981877b9c7f33
treef972577d5d686eed66aec091c52942653d1b7a5d
parentd3af7d1b441b6fb94bc12ed9a30cf1fe0c8d52dd
Link from copies to library info page

In the absence of a specific lib.info_url org unit setting, link to the library
info page.

If we _do_ have a lib.info_url org unit setting, link from the library info
page to to the external web site.

Rather than wrapping everything in the table cell as the seller, focus
on the <a> and give it an explicit Library typeof attribute; then we can
offer up the name of the library as the name attribute, should the
crawler be too lazy to follow the link.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/record/copy_table.tt2