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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.