@using PlotLine.Models.WritingSolver @using PlotLine.Services @model SolverDiagnosticPresentation @inject WritingSolverResults Results @inject IHelpService Help @inject WritingProblemEditorial Editorial @{ var tool=Model.Capability; var content=Model.Content; var signedIn=User.Identity?.IsAuthenticated==true; var permanent=Editorial.Find(Model.Solution.Id); var article=content.ArticleKey is null?null:Help.GetByContextKey(content.ArticleKey); }
@if(Model.Evidence.Count>0) {

✓ Here’s a useful way forward

} else {

Writing problems

}

@Model.Solution.Title

@if(Model.Evidence.Count>0 || permanent is null) {
@foreach(var evidence in Model.Evidence) {

@evidence

}

@content.Explanation

} @if(permanent is not null) {

@permanent.Recognition

} @if(Model.Evidence.Count>0 && permanent is not null) {

See where to start in PlotDirector →

}
@if(permanent is not null) { } @if(permanent is null && !string.IsNullOrWhiteSpace(content.Principle)) { }

How PlotDirector can help

Start here

@tool.Name

@tool.Shows

@content.Reason

Look for @content.LookFor

@(signedIn ? "Open "+tool.Name+" in my workspace" : "See how "+tool.Name+" works") @if(signedIn) {

Choose your project first@(tool.WorkspaceRoute.Contains("{characterId}") ? ", then the character you want to follow." : ".")

} else {

Explore the tool without signing in.

}
@if(content.Secondary is not null) { var secondary=Results.Capability(content.Secondary); } @if(article is not null) { }
@if(Model.Supporting.Count>0) {

Also indicated by your answers

@foreach(var item in Model.Supporting) {
@item.Solution.Title @foreach(var evidence in item.Evidence) {

@evidence

}
}
}