Example #1
0
        public string GetDisgest()
        {
            var istFrom  = FromDate.Add(TimeSpan.FromMinutes(330));
            var from     = string.Format("{0} {1} IST", FromDate.ToString("ddd, dd MMM yyyy"), FromDate.ToShortTimeString());
            var composer = new HtmlComposer();

            composer.AppendImg(Routes.ImageUrl("event_mail.jpg"))
            .AppendLinkHead(EventName, Routes.EventsUrl(EventId))
            .AppendDiv(Location.Replace("\n", " "))
            .AppendDiv(from);
            return(composer.Text.ToString());
        }