You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2014/02/14 16:10:51 UTC
git commit: [#7097] Don't show Send Message button if not logged in
Updated Branches:
refs/heads/cj/7097 1c10ec496 -> f44a98a88
[#7097] Don't show Send Message button if not logged in
Signed-off-by: Cory Johns <cj...@slashdotmedia.com>
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 <cj...@slashdotmedia.com>
Authored: Fri Feb 14 15:10:40 2014 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
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() %}
<a id="user-message" href="send_message" class="btn">
<b data-icon="{{g.icons['mail'].char}}" class="ico {{g.icons['mail'].css}}"></b>
<span>Send Message</span>