Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
In EventDetails.cshtml you could do with a null check as the script falls over if you don't select an orgainser. I'm using the lines below:
@if (Model.Organisator != null)
{
<div class="row-fluid">
<hr />
<h3><a href="mailto:@Model.Organisator.Email">Organiser: @Model.Organisator.Name</a></h3>
</div>
}
I've also changed the spelling of the organiser label.
Hi Richard,
thanks for mentioning this. Will update the view with your suggestion for the next release!
Thanks!
David
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Organiser null check
In EventDetails.cshtml you could do with a null check as the script falls over if you don't select an orgainser. I'm using the lines below:
@if (Model.Organisator != null)
{
<div class="row-fluid">
<hr />
<h3><a href="mailto:@Model.Organisator.Email">Organiser: @Model.Organisator.Name</a></h3>
</div>
}
I've also changed the spelling of the organiser label.
Hi Richard,
thanks for mentioning this. Will update the view with your suggestion for the next release!
Thanks!
David
is working on a reply...