@model Album @{ ViewBag.Title = "Edit " + (Model.IsProfileAlbum ? "Profile Pictures" : Model.Title); Layout = "~/Views/Shared/_LayoutUserTwoBars.cshtml"; Html.DoSelect("Sidebar", "Album"); var title = Model.IsProfileAlbum ? @Resources.Albums.ProfilePictures : Model.IsWallAlbum ? @Resources.Albums.WallPictures : Model.Title; // to be hijacked // this is a grid view of all pictures within an album // hijacked version shows the first picture in picture-view mode. }