Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR: Only show the CTF utility bar if there are utilities available.

  • Loading branch information...
commit 9e49d04e152710e27e8b73b5625d49bae9ede9d8 1 parent 590dbb5
@ajshort ajshort authored
Showing with 7 additions and 5 deletions.
  1. +7 −5 templates/ComplexTableField.ss
View
12 templates/ComplexTableField.ss
@@ -71,10 +71,12 @@
<% end_if %>
</tbody>
</table>
- <div class="utility">
- <% control Utility %>
- <span class="item"><a href="$Link" target="_blank">$Title</a></span>
- <% end_control %>
- </div>
+ <% if Utility %>
+ <div class="utility">
+ <% control Utility %>
+ <span class="item"><a href="$Link" target="_blank">$Title</a></span>
+ <% end_control %>
+ </div>
+ <% end_if %>
</div>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.