Commit 6f31868e authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Fixing regression from theme update, where pages couldn't be added to new collections"

parents 58c40a44 921e765c
......@@ -5,9 +5,6 @@
<div id="collectionpageswrap">
<div id="collectionpages">
<h3>{str tag=Collection section=collection}</h3>
{if !$views}
<div class="message">{str tag=noviews section=collection}</div>
{else}
<fieldset id="pagestoadd">
<legend>{str tag=addviewstocollection section=collection}</legend>
{if $viewsform}
......@@ -16,7 +13,10 @@
{str tag=noviewsavailable section=collection}
{/if}
</fieldset>
<table id="collectionviews" class="fullwidth">
{if !$views}
<div class="message">{str tag=noviews section=collection}</div>
{else}
<table id="collectionviews" class="fullwidth">
<tbody>
{foreach from=$views.views item=view}
<tr class="{cycle values='r0,r1'}">
......@@ -45,7 +45,7 @@
</tr>
{/foreach}
</tbody>
</table>
</table>
{/if}
<div class="cb"></div>
</div></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment