Explorar el Código

add conditional

久保田隼基 hace 8 años
padre
commit
b4a2ab2b8b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      lib/views/user_page.html

+ 2 - 0
lib/views/user_page.html

@@ -19,7 +19,9 @@
       <h2>{{ pageUser.name }}</h2>
       <ul>
         <li class="user-page-username"><i class="fa fa-user"></i> @{{ pageUser.username }}</li>
+       {% if true %}
         <li class="user-page-email"><i class="fa fa-envelope-o"></i> {{ pageUser.email }}</li>
+        {% endif %}
         {% if pageUser.introduction %}
         <li class="user-page-introduction"><p>{{ pageUser.introduction|nl2br }}</p></li>
         {% endif %}