From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.8 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: olddoc-public@80x24.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id A23832021D; Sat, 9 Jan 2016 22:28:03 +0000 (UTC) Date: Sat, 9 Jan 2016 22:28:03 +0000 From: Eric Wong To: olddoc-public@80x24.org Subject: [PATCH 2/1] tail: fix divider when private email does not exist Message-ID: <20160109222803.GA7897@dcvr.yhbt.net> References: <20160109221559.6482-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160109221559.6482-1-e@80x24.org> List-Id: 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 -- EW