Skip to content

Commit

Permalink
Merge pull request vufind-org#10 from crhallberg/introducing_holdings…
Browse files Browse the repository at this point in the history
…_and_item_notes

Switch to Compact List Table
  • Loading branch information
lahmann committed Dec 18, 2015
2 parents 156d090 + 5c7ff4e commit d95e0e1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion themes/bootprint3/css/compiled.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/bootstrap3/css/compiled.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions themes/bootstrap3/less/bootstrap.less
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ h3 {
font-weight: bold;
color: #000;
}
table.item-notes {
td,th { vertical-align: top; }
th { white-space: nowrap; }
}
.tagList {
.tag {
display: inline-block;
Expand Down
18 changes: 12 additions & 6 deletions themes/bootstrap3/templates/RecordTab/holdingsils.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,18 @@
<? endif; ?>
<? endif; ?>
<? if (isset($row['item_notes'])): ?>
<ul class="list-group">
<li class="list-group-item"><?=$this->transEsc("Item Notes")?>:</li>
<? foreach ($row['item_notes'] as $item_note): ?>
<li class="list-group-item"><?=$item_note?></li>
<? endforeach; ?>
</ul>
<table class="item-notes">
<tr>
<th><?=$this->transEsc("Item Notes")?>:</th>
<td>
<ul>
<? foreach ($row['item_notes'] as $item_note): ?>
<li><?=$item_note?></li>
<? endforeach; ?>
</ul>
</td>
</tr>
</table>
<? endif; ?>
<? endif; ?>
<? /* Embed item structured data: library, barcode, call number */ ?>
Expand Down

0 comments on commit d95e0e1

Please sign in to comment.