Skip to content

Commit 0613d03

Browse files
committed
Merge branch 'DLS-Release-v1.2.0' into UAT
2 parents 6678960 + fcaa737 commit 0613d03

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

DigitalLearningSolutions.Web/Views/Frameworks/Developer/Import/ApplyCompetencyOrdering.cshtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
</legend>
3939
<div class="nhsuk-inset-text">
4040
<span class="nhsuk-u-visually-hidden">Information: </span>
41-
<p>We strongly recommend including all framework competencies in your uploaded sheet if reordering competencies to ensure that the correct sequence is applied.</p>
41+
<p>We strongly recommend including all framework @Model.FrameworkVocabularyPlural.ToLower() in your uploaded sheet if reordering @Model.FrameworkVocabularyPlural.ToLower() to ensure that the correct sequence is applied.</p>
42+
<p>Note that if you split @Model.FrameworkVocabularySingular.ToLower() groups in your uploaded sheet, they will not be split in your framework but the order of groups may be affected.</p>
4243
</div>
4344
<div class="nhsuk-hint nhsuk-u-margin-bottom-2">
4445
Your uploaded file includes changes to the order of existing @Model.FrameworkVocabularyPlural.ToLower(). Choose whether to store the changes to @Model.FrameworkVocabularySingular.ToLower() order during update.

DigitalLearningSolutions.Web/Views/Frameworks/Developer/_Structure.cshtml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@
22
@model FrameworkViewModel;
33

44

5-
@if (Model.DetailFramework.UserRole > 1)
6-
{
7-
<div class="nhsuk-grid-row nhsuk-u-margin-top-3">
8-
<div class="nhsuk-grid-column-full">
5+
6+
<div class="nhsuk-grid-row nhsuk-u-margin-top-3">
7+
<div class="nhsuk-grid-column-full">
8+
@if (Model.DetailFramework.UserRole > 1)
9+
{
910
<a class="nhsuk-button" asp-action="AddEditFrameworkCompetencyGroup" asp-route-frameworkId="@(ViewContext.RouteData.Values["frameworkId"])">Add @Model.VocabSingular().ToLower() group</a>
1011
<a class="nhsuk-button nhsuk-button--secondary" asp-action="AddEditFrameworkCompetency" asp-route-frameworkId="@(ViewContext.RouteData.Values["frameworkId"])">Add ungrouped @Model.VocabSingular().ToLower()</a>
1112
<a class="nhsuk-button nhsuk-button--secondary" asp-action="ImportCompetencies" asp-route-frameworkId="@(ViewContext.RouteData.Values["frameworkId"])" asp-route-isNotBlank="@(Model.FrameworkCompetencies.Any()|Model.FrameworkCompetencyGroups.Any())" asp-route-tabname="@(ViewContext.RouteData.Values["tabname"])">Bulk upload/update @Model.VocabPlural().ToLower()</a>
12-
@if ((Model.FrameworkCompetencies?.Any() ?? false) || (Model.FrameworkCompetencyGroups?.Any(group => group.FrameworkCompetencies.Any()) ?? false) )
13-
{
14-
<a class="nhsuk-button nhsuk-button--secondary" asp-action="PrintLayout" asp-route-frameworkId="@(ViewContext.RouteData.Values["frameworkId"])">View for print</a>
15-
}
16-
</div>
13+
}
14+
@if ((Model.FrameworkCompetencies?.Any() ?? false) || (Model.FrameworkCompetencyGroups?.Any(group => group.FrameworkCompetencies.Any()) ?? false))
15+
{
16+
<a class="nhsuk-button nhsuk-button--secondary" asp-action="PrintLayout" asp-route-frameworkId="@(ViewContext.RouteData.Values["frameworkId"])">View for print</a>
17+
}
1718
</div>
18-
}
19+
</div>
20+
1921
<h2>Framework structure</h2>
2022
@if (Model.FrameworkCompetencyGroups.Any())
2123
{

0 commit comments

Comments
 (0)