File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
DigitalLearningSolutions.Web/Views/TrackingSystem/CourseSetup Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 3333 </div >
3434 </details >
3535
36- @if ( Model . Active && ! Model . Archived )
37- {
38- < div class = " nhsuk-grid-row " >
39- < div class = " nhsuk-grid-column-full nhsuk-u-margin-left-4 " >
36+ < div class = " nhsuk-grid-row " >
37+ < div class = " nhsuk-grid-column-full nhsuk-u-margin-left-4 " >
38+ @if ( Model . Active && ! Model . Archived )
39+ {
4040 <a class =" nhsuk-button nhsuk-u-margin-right-2 nhsuk-u-margin-bottom-2"
4141 role =" button"
42424545 asp-route-customisationId =" @Model.CustomisationId" >
4646 Launch course
4747 </a >
48+ }
49+ else if (! Model .Archived )
50+ {
4851 <a class =" nhsuk-button nhsuk-button--secondary nhsuk-u-margin-bottom-2"
4952 role =" button"
5053 asp-controller =" ManageCourse"
5154 asp-action =" Index"
5255 asp-route-customisationId =" @Model.CustomisationId" >
5356 Manage course
5457 </a >
55- </ div >
58+ }
5659 </div >
57- }
60+ </ div >
5861</div >
You can’t perform that action at this time.
0 commit comments