You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/05/13 23:56:35 UTC

[4/4] git commit: [#6212] don't show login stats if the system doesn't record them (alternate auth system)

[#6212] don't show login stats if the system doesn't record them (alternate auth system)


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/bffea80f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/bffea80f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/bffea80f

Branch: refs/heads/master
Commit: bffea80ff01870a3f55bc3ae0b61de259b6756bc
Parents: ac7e003
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Tue May 7 20:05:14 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Mon May 13 21:56:19 2013 +0000

----------------------------------------------------------------------
 ForgeUserStats/forgeuserstats/templates/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/bffea80f/ForgeUserStats/forgeuserstats/templates/index.html
----------------------------------------------------------------------
diff --git a/ForgeUserStats/forgeuserstats/templates/index.html b/ForgeUserStats/forgeuserstats/templates/index.html
index 406fb20..d171677 100644
--- a/ForgeUserStats/forgeuserstats/templates/index.html
+++ b/ForgeUserStats/forgeuserstats/templates/index.html
@@ -76,7 +76,7 @@
         </tr>
       </thead>
       <tbody>
-        {% if not category %}
+        {% if not category and last_login %}
           <tr>
             <td>Logins</td>
             <td>{{totlogins}}</td>