@using PlotLine.Data @model (StoryElementReference Item, Dictionary Routes) @{ var item = Model.Item; var version = Convert.ToBase64String(item.Version); var noteLabel = item.Kind switch { "Characteristic" => "Characteristic", "Image" => "Caption", _ => "Description" }; }
Edit
@if (item.Kind == "Attachment") { }
@if (item.Kind == "Image" && Model.Routes["entityType"] is "Location" or "Asset") { }