Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 9e49d04e152710e27e8b73b5625d49bae9ede9d8 1 parent 590dbb5
Andrew Short authored February 02, 2011

Showing 1 changed file with 7 additions and 5 deletions. Show diff stats Hide diff stats

  1. 12  templates/ComplexTableField.ss
12  templates/ComplexTableField.ss
@@ -71,10 +71,12 @@
71 71
 			<% end_if %>
72 72
 		</tbody>
73 73
 	</table>
74  
-	<div class="utility">
75  
-		<% control Utility %>
76  
-			<span class="item"><a href="$Link" target="_blank">$Title</a></span>
77  
-		<% end_control %>
78  
-	</div>
  74
+	<% if Utility %>
  75
+		<div class="utility">
  76
+			<% control Utility %>
  77
+				<span class="item"><a href="$Link" target="_blank">$Title</a></span>
  78
+			<% end_control %>
  79
+		</div>
  80
+	<% end_if %>
79 81
 	</div>
80 82
 </div>

0 notes on commit 9e49d04

Please sign in to comment.
Something went wrong with that request. Please try again.