-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into decisions_Cypress_Tests
- Loading branch information
Showing
53 changed files
with
1,721 additions
and
862 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
Dfe.PrepareConversions/Dfe.PrepareConversions/Configuration/SharePointOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Dfe.PrepareConversions.Configuration | ||
{ | ||
public class SharePointOptions | ||
{ | ||
public bool Enabled { get; set; } | ||
public string Url { get; set; } | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
Dfe.PrepareConversions/Dfe.PrepareConversions/Models/CheckBoxItem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Dfe.PrepareConversions.Models; | ||
|
||
public class CheckBoxItem | ||
{ | ||
public string Title { get; set; } | ||
public string HintText { get; set; } | ||
public string CheckBoxId { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
Dfe.PrepareConversions/Dfe.PrepareConversions/Pages/ApplicationDocuments/Index.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@page "/application-documents/{id:int}" | ||
@using Dfe.PrepareConversions.Data.Models | ||
@using Dfe.PrepareConversions.TagHelpers | ||
@model Dfe.PrepareConversions.Pages.ApplicationDocuments.IndexModel | ||
@{ | ||
ViewData["Title"] = "Application documents"; | ||
} | ||
|
||
@section BeforeMain | ||
{ | ||
<a asp-page="@Model.ReturnPage" asp-route-id="@Model.ReturnId" class="govuk-back-link">@Links.ProjectList.Index.BackText</a> | ||
} | ||
|
||
<partial name="Shared/_ProjectHeader" model="Model.Project" /> | ||
<h2 class="govuk-heading-l govuk-!-margin-bottom govuk-!-font-size-36">Application documents</h2> | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<p class="govuk-body" if="Model.Project.ApplicationSharePointId.HasValue"> | ||
<a href="@Model.ApplicationLevelDocumentsFolder" class="govuk-link" rel="noreferrer noopener" target="_blank">Application level documents folder (opens in new tab)</a> | ||
</p> | ||
<p class="govuk-body" if="!Model.Project.ApplicationSharePointId.HasValue"> | ||
Application level documents are unavailable | ||
</p> | ||
<p class="govuk-body" if="Model.Project.SchoolSharePointId.HasValue"> | ||
<a href="@Model.SchoolLevelDocumentsFolder" class="govuk-link" rel="noreferrer noopener" target="_blank">School level documents folder (opens in new tab)</a> | ||
</p> | ||
<p class="govuk-body" if="!Model.Project.SchoolSharePointId.HasValue"> | ||
School level documents are unavailable | ||
</p> | ||
</div> | ||
|
||
</div> |
Oops, something went wrong.