comparison default/blog/discover.html @ 136:4eda3d0ddb22

blog (discover): don't display alternative instructions if not disco entities are available (i.e. if the only choice is free jid)
author Goffi <goffi@goffi.org>
date Tue, 27 Mar 2018 08:30:07 +0200
parents f1d47c2942ae
children
comparison
equal deleted inserted replaced
135:24920d436e77 136:4eda3d0ddb22
23 </li> 23 </li>
24 {% endfor %} 24 {% endfor %}
25 </ul> 25 </ul>
26 </div> 26 </div>
27 27
28 <p class="instructions--alt">{% trans %}Or enter the jid of a blog writer{% endtrans %}</p> 28 {% if disco_entities %}
29 <p class="instructions--alt">{% trans %}Or enter the jid of a blog writer{% endtrans %}</p>
30 {% endif %}
29 {% call form.form(class="form_single") %} 31 {% call form.form(class="form_single") %}
30 {{ field.text("jid", _("blog writer jid"), required=true)}} 32 {{ field.text("jid", _("blog writer jid"), required=true)}}
31 {{ field.submit(_("Consult")) }} 33 {{ field.submit(_("Consult")) }}
32 {% endcall %} 34 {% endcall %}
33 {% endblock body %} 35 {% endblock body %}