Exemple #1
0
        public static string LastPostTimeAgo(object member)
        {
            MemberInfo m = (MemberInfo)member;

            return(!m.LastPostDate.HasValue ? "" : SnitzTime.TimeAgoTag(m.LastPostDate.Value, HttpContext.Current.User.Identity.IsAuthenticated, m));
        }
Exemple #2
0
        public static string MemberSinceTimeAgo(object member)
        {
            MemberInfo m = (MemberInfo)member;

            return(SnitzTime.TimeAgoTag(m.MemberSince, HttpContext.Current.User.Identity.IsAuthenticated, m));
        }