Ejemplo n.º 1
0
		/// <summary>
		/// This draws event links for brand public chat
		/// </summary>
		void AppendEventLink(StringBuilder sb, bool first, Event e)
		{
			if (!first)
				sb.Append("<br>");
			sb.Append("<a href=\"");
			sb.Append(e.UrlDiscussion());
			sb.Append("\">");
			sb.Append(e.Name);
			sb.Append("</a> <small>@ ");
			sb.Append(e.Venue.Name);
			sb.Append(" in ");
			sb.Append(e.Venue.Place.Name);
			sb.Append(", ");
			sb.Append(e.FriendlyDate(false));
			sb.Append(" - ");
			sb.Append(e.TotalComments.ToString("#,##0"));
			sb.Append(" comment");
			if (e.TotalComments != 1)
				sb.Append("s");
			sb.Append("</small>");

		}