Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D5EF10978 for ; Fri, 14 Feb 2014 15:10:55 +0000 (UTC) Received: (qmail 88699 invoked by uid 500); 14 Feb 2014 15:10:55 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 88373 invoked by uid 500); 14 Feb 2014 15:10:53 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 88357 invoked by uid 99); 14 Feb 2014 15:10:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Feb 2014 15:10:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1B706926A30; Fri, 14 Feb 2014 15:10:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: johnsca@apache.org To: allura-commits@incubator.apache.org Message-Id: <18774596f4f24eed8ba7839cd16e41e3@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [#7097] Don't show Send Message button if not logged in Date: Fri, 14 Feb 2014 15:10:51 +0000 (UTC) Updated Branches: refs/heads/cj/7097 1c10ec496 -> f44a98a88 [#7097] Don't show Send Message button if not logged in Signed-off-by: Cory Johns Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/f44a98a8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/f44a98a8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/f44a98a8 Branch: refs/heads/cj/7097 Commit: f44a98a88718c7d12f4e740f69295546730718a0 Parents: 1c10ec4 Author: Cory Johns Authored: Fri Feb 14 15:10:40 2014 +0000 Committer: Cory Johns Committed: Fri Feb 14 15:10:40 2014 +0000 ---------------------------------------------------------------------- Allura/allura/ext/user_profile/templates/user_index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/f44a98a8/Allura/allura/ext/user_profile/templates/user_index.html ---------------------------------------------------------------------- diff --git a/Allura/allura/ext/user_profile/templates/user_index.html b/Allura/allura/ext/user_profile/templates/user_index.html index 3e4ed44..05cf7a3 100644 --- a/Allura/allura/ext/user_profile/templates/user_index.html +++ b/Allura/allura/ext/user_profile/templates/user_index.html @@ -33,7 +33,7 @@ {% endblock %} {% block nav_menu %} - {% if user != c.user %} + {% if user != c.user and not c.user.is_anonymous() %} Send Message