diff --git a/PlotLine/Views/Archives/Index.cshtml b/PlotLine/Views/Archives/Index.cshtml index 4d35186..afefdaf 100644 --- a/PlotLine/Views/Archives/Index.cshtml +++ b/PlotLine/Views/Archives/Index.cshtml @@ -1,6 +1,27 @@ @model ArchivedItemsViewModel @{ ViewData["Title"] = "Archived Items"; + ViewData["ProjectSection"] = "Archive"; + var selectedProject = Model.ProjectID.HasValue + ? Model.ProjectOptions.FirstOrDefault(x => x.Value == Model.ProjectID.Value.ToString()) + : null; + var projectNavigation = Model.ProjectID.HasValue + ? new Project { ProjectID = Model.ProjectID.Value, ProjectName = selectedProject?.Text ?? "Project" } + : null; +} + + + +@if (projectNavigation is not null) +{ + }
diff --git a/PlotLine/Views/Books/Details.cshtml b/PlotLine/Views/Books/Details.cshtml index a203dfd..0cf5589 100644 --- a/PlotLine/Views/Books/Details.cshtml +++ b/PlotLine/Views/Books/Details.cshtml @@ -23,14 +23,21 @@
Edit book - Timeline - Story health Add chapter -
- - - -
+
diff --git a/PlotLine/Views/Chapters/Details.cshtml b/PlotLine/Views/Chapters/Details.cshtml index a7dea1f..ba219a3 100644 --- a/PlotLine/Views/Chapters/Details.cshtml +++ b/PlotLine/Views/Chapters/Details.cshtml @@ -27,15 +27,21 @@
Edit chapter - Timeline Chapter workflow Chapter brief Add scene -
- - - -
+
diff --git a/PlotLine/Views/Projects/Details.cshtml b/PlotLine/Views/Projects/Details.cshtml index bf7cbbe..2309176 100644 --- a/PlotLine/Views/Projects/Details.cshtml +++ b/PlotLine/Views/Projects/Details.cshtml @@ -20,18 +20,19 @@

@Model.Project.Description

} - diff --git a/PlotLine/Views/Scenes/_SceneInspector.cshtml b/PlotLine/Views/Scenes/_SceneInspector.cshtml index 0058e31..306ed37 100644 --- a/PlotLine/Views/Scenes/_SceneInspector.cshtml +++ b/PlotLine/Views/Scenes/_SceneInspector.cshtml @@ -230,14 +230,10 @@
- @if (!Model.ReturnToTimeline) - { - Back to chapter - }
-@if (Model.SceneID > 0) +@if (Model.SceneID > 0 && Model.ReturnToTimeline) {