Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Thompson 100 posts 336 karma points
    Sep 22, 2014 @ 14:51
    Richard Thompson
    0

    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.

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Sep 22, 2014 @ 15:58
    David Brendel
    0

    Hi Richard,

    thanks for mentioning this. Will update the view with your suggestion for the next release!

    Thanks!

    David

Please Sign in or register to post replies

Write your reply to:

Draft