aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-14 05:32:31 -0700
committerfriendica <info@friendica.com>2012-04-14 05:32:31 -0700
commit6591b292a1e22e3eaec41af0a61a6911e9847098 (patch)
tree32486e253628ab64fa466f34dfc0703d9ce8644c /view
parent6af4183302d99cea9385b48c1867124257984935 (diff)
downloadvolse-hubzilla-6591b292a1e22e3eaec41af0a61a6911e9847098.tar.gz
volse-hubzilla-6591b292a1e22e3eaec41af0a61a6911e9847098.tar.bz2
volse-hubzilla-6591b292a1e22e3eaec41af0a61a6911e9847098.zip
bogus empty list element in dfrn_request page when emailnet not enabled
Diffstat (limited to 'view')
-rw-r--r--view/auto_request.tpl2
-rw-r--r--view/dfrn_request.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/view/auto_request.tpl b/view/auto_request.tpl
index 2958397c9..961de9bb3 100644
--- a/view/auto_request.tpl
+++ b/view/auto_request.tpl
@@ -7,7 +7,7 @@ $page_desc<br />
<li><a href="http://friendica.com" title="$friendica">$friendica</a></li>
<li><a href="http://joindiaspora.com" title="$diaspora">$diaspora</a> $diasnote</li>
<li><a href="http://ostatus.org" title="$public_net" >$statusnet</a></li>
-<li>$emailnet</li>
+{{ if $emailnet }}<li>$emailnet</li>{{ endif }}
</ul>
</p>
<p>
diff --git a/view/dfrn_request.tpl b/view/dfrn_request.tpl
index d8aa8b181..bd3bcbc42 100644
--- a/view/dfrn_request.tpl
+++ b/view/dfrn_request.tpl
@@ -7,7 +7,7 @@ $page_desc<br />
<li><a href="http://friendica.com" title="$friendica">$friendica</a></li>
<li><a href="http://joindiaspora.com" title="$diaspora">$diaspora</a> $diasnote</li>
<li><a href="http://ostatus.org" title="$public_net" >$statusnet</a></li>
-<li>$emailnet</li>
+{{ if $emailnet }}<li>$emailnet</li>{{ endif }}
</ul>
$invite_desc
</p>