From 08947d607e9be6626c4ddd20bfc7add4de7caed4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 9 Jan 2016 22:27:13 +0000 Subject: tail: fix divider when private email does not exist Not all projects have both email addresses. --- lib/oldweb/_tail.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oldweb/_tail.rhtml b/lib/oldweb/_tail.rhtml index fda210d..f56bf2c 100644 --- a/lib/oldweb/_tail.rhtml +++ b/lib/oldweb/_tail.rhtml @@ -14,7 +14,7 @@ href="<%= u %>"><%= u %> <% if public_email %>public: <%= public_email %><% end - if private_email || public_email %> / <% end + if private_email && public_email %> / <% end if private_email %>private: <%= private_email %><% end -- cgit v1.2.3-24-ge0c7