Ver Fonte

Don't show conn uri bit with no conn uri

George Baugh há 2 meses atrás
pai
commit
ee39177360
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      www/templates/html/components/forms/hypervisor.tx

+ 2 - 0
www/templates/html/components/forms/hypervisor.tx

@@ -4,9 +4,11 @@
         : include "post_title.tx";
         : include "post_tags.tx";
 <div class="postData responsive-text">
+    <: if ($post.conn_uri) { :>
     Connection URI:<br />
     <a href="<: $post.conn_uri :>"><: $post.conn_uri :></a>
     <br />
+    <: } :>
     <: render_it($post.data) | mark_raw :>
 </div>