Commit fdb8a26a authored by Nigel McNie's avatar Nigel McNie
Browse files

Mark the link as disabled if there are no layouts for the view, rather than hiding the link

parent 596c4ed2
......@@ -18,7 +18,7 @@
<div id="blocktype-footer"></div>
</div>
<a id="layout-link" href="layout.php?id=1&c={$category}&new={$new}"{if !$can_change_layout} style="display: none;"{/if}>{str tag='changeviewlayout' section='view'}</a>
<a id="layout-link" href="layout.php?id=1&c={$category}&new={$new}"{if !$can_change_layout} class="disabled"{/if}>{str tag='changeviewlayout' section='view'}</a>
<div id="bottom-pane">
<div id="column-container">
......
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