From looking at the HTML, the problem is that your template is generating a bunch of empty <tr><td><div></div></td></tr> code.  I think it's happening within the

{foreach from=$holding item=row}

loop, but without more in-depth analysis I wouldn't swear to that.

I think what's happening is that the loop is generating rows, but some of the conditional code within each row is preventing any data from being filled in.  You might want to add some temporary debug messages into your template so you can figure out which conditions are being met for each row.  Once you figure out how to identify rows that don't display anything, you may be able to expand this statement:

{if $row.barcode != ""}

so that it bypasses rows for more reasons.

If you find more clues but still need help implementing a solution, feel free to post a follow-up.

- Demian

From: Christian Dabrowski []
Sent: Friday, November 02, 2012 6:46 AM
Subject: [VuFind-General] Holdings.tpl and border bottom lines.

Hi all,

I would like Vufind to show the following message "Check out only via Library X" when it detects items for a title from this library and I want this message to be shown once.
So far so good.
My problem is that although Vufind shows only one text, the "border-bottom-lines"  are shown as often as the number of the items exist in the library. Like here: 

I think the problem is the inclusion of table tags in the right position, so I tried several positions for the <td> and <tr>-tags but without the wished result. Now I am clueless - has anyone a hint?  Thanks in advance!

The holdings.tpl file is attached.

all best,