|
|
@ -50,10 +50,10 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|
|
|
|
|
|
|
|
|
|
|
protected virtual void AddTitle(StringBuilder sb, string url, string title)
|
|
|
|
protected virtual void AddTitle(StringBuilder sb, string url, string title)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
sb.Append("<tr class=\"title\" valign=\"top\" style=\"font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-size: 22px;line-height: 24px;vertical-align: top;max-width: 320px;display: block;height: 100%;min-height: 20px;max-height: 45px; \">");
|
|
|
|
sb.Append("<tr class=\"title\" valign=\"top\" style=\"font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-size: 22px;line-height: 24px;vertical-align: top;max-width: 320px;display: block;height: 50px;min-height: 50px;max-height: 50px; \">");
|
|
|
|
sb.Append("<td>");
|
|
|
|
sb.Append("<td>");
|
|
|
|
if(url.HasValue()) sb.AppendFormat("<a href=\"{0}\" target=\"_blank\" style=\"text-decoration: none; font-weight: 400; color: #ff761b;\">", url);
|
|
|
|
if(url.HasValue()) sb.AppendFormat("<a href=\"{0}\" target=\"_blank\" style=\"text-decoration: none; font-weight: 400; color: #ff761b;\">", url);
|
|
|
|
sb.AppendFormat("<h1 style=\"font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-size: 22px;line-height: 24px;vertical-align: top;max-width: 320px;display: block;height: 100%;min-height: 20px;max-height: 45px;\" >{0}</h1>", title);
|
|
|
|
sb.AppendFormat("<h1 style=\"font-family: 'Open Sans', Helvetica, Arial, sans-serif;font-size: 22px;line-height: 24px;vertical-align: top;max-width: 320px;display: block;height: 50px;min-height: 50px;max-height: 50px;\" >{0}</h1>", title);
|
|
|
|
if (url.HasValue()) sb.Append("</a>");
|
|
|
|
if (url.HasValue()) sb.Append("</a>");
|
|
|
|
sb.Append("</td>");
|
|
|
|
sb.Append("</td>");
|
|
|
|
sb.Append("</tr>");
|
|
|
|
sb.Append("</tr>");
|
|
|
|