Просмотр исходного кода

Don't show conn uri bit with no conn uri

George Baugh 1 месяц назад
Родитель
Сommit
ee39177360
1 измененных файлов с 2 добавлено и 0 удалено
  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>