Skip to content

Commit 34c67ca

Browse files
TD-5683 Issue showing self assessment reports on Tracking system which are not published at the centre
1 parent 5beabf1 commit 34c67ca

File tree

1 file changed

+1
-1
lines changed
  • DigitalLearningSolutions.Web/Views/TrackingSystem/Centre/SelfAssessmentReports

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Views/TrackingSystem/Centre/SelfAssessmentReports/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<h2>Excel learner activity reports</h2>
2929
<p class="nhsuk-lede-text">Download Excel competency self assessments activity reports for your centre.</p>
3030
<ul>
31-
@if((Model.AdminCategoryId == null) || (Model.AdminCategoryId == Model.CategoryId))
31+
@if((Model.DSATreportIsPublish) && ((Model.AdminCategoryId == null) || (Model.AdminCategoryId == Model.CategoryId)))
3232
{
3333
<li>
3434
<a asp-controller="SelfAssessmentReports" asp-action="DownloadDigitalCapabilityToExcel">Digital Skills Assessment Tool - Download report</a>

0 commit comments

Comments
 (0)