File tree Expand file tree Collapse file tree
EmailTemplates/Views/Shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ await _auditService.LogRecordChangeAsync(
233233
234234 // Set verification timestamp
235235 var verifiedDate = DateTime . Now ;
236- var oldValues = new { EffortVerified = ( DateTime ? ) null } ;
236+ var oldValues = new { EffortVerified = default ( DateTime ? ) } ;
237237
238238 instructor . EffortVerified = verifiedDate ;
239239
Original file line number Diff line number Diff line change 4141 @* Use width attribute for Outlook, max-width for modern clients. Class for responsive override. *@
4242 <table class =" email-container" cellpadding =" 0" cellspacing =" 0" border =" 0" width =" 650" bgcolor =" #ffffff" style =" background-color : #ffffff ; border : 1px solid #dee2e6 ; max-width : 650px ; width : 100% ;" >
4343 @* UC Davis Weill Header Image *@
44+ @{
45+ var baseUrl = ViewBag .BaseUrl as string ;
46+ }
4447 <tr >
4548 <td class =" email-header" style =" padding : 0 ; line-height : 0 ; font-size : 0 ;" >
46- @if (! string .IsNullOrWhiteSpace (( string ?) ViewBag . BaseUrl ))
49+ @if (! string .IsNullOrWhiteSpace (baseUrl ))
4750 {
48- <img src =" @(((string)ViewBag.BaseUrl) .TrimEnd('/'))/images/email/email-header-weill.jpg"
51+ <img src =" @(baseUrl .TrimEnd('/'))/images/email/email-header-weill.jpg"
4952 alt =" UC Davis Weill School of Veterinary Medicine"
5053 width =" 650"
5154 style =" display : block ; width : 100% ; max-width : 650px ; height : auto ; border : 0 ;" />
You can’t perform that action at this time.
0 commit comments