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)); }
public static string MemberSinceTimeAgo(object member) { MemberInfo m = (MemberInfo)member; return(SnitzTime.TimeAgoTag(m.MemberSince, HttpContext.Current.User.Identity.IsAuthenticated, m)); }