Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ public void SendCompetencyAssessmentCollaboratorInvite(int id, int invitedByAdmi
var builder = new BodyBuilder
{
TextBody = $@"Dear colleague,
You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for the competency assessment, {collaboratorNotification.CompetencyAssessmentName} by {collaboratorNotification.InvitedByName} ({collaboratorNotification.InvitedByEmail}).
To access the competency assessment, visit this url: {competencyAssessmentUrl}. You must be registered on the Digital Learning Solutions platform to view the self-assessment.",
You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for {collaboratorNotification.CompetencyAssessmentName} by {collaboratorNotification.InvitedByName} ({collaboratorNotification.InvitedByEmail}).
To access the assessment, visit this url: {competencyAssessmentUrl}. You must be registered on the Digital Learning Solutions platform to view the self-assessment.",
HtmlBody = $@"<body style= 'font-family: Calibri; font-size: small;'>
<p>Dear colleague,</p>
<p>You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for the competency assessment {collaboratorNotification.CompetencyAssessmentName}, by <a href='mailto:{collaboratorNotification.InvitedByEmail}'>{collaboratorNotification.InvitedByName}</a>.</p>
<p>You have been identified as a {collaboratorNotification.CompetencyAssessmentRole} for {collaboratorNotification.CompetencyAssessmentName}, by <a href='mailto:{collaboratorNotification.InvitedByEmail}'>{collaboratorNotification.InvitedByName}</a>.</p>
<p><a href='{competencyAssessmentUrl}'>Use this link</a> to access the self-assessment. You must be registered on the Digital Learning Solutions platform to view the self-assessment.</p>
</body>",
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@using DigitalLearningSolutions.Web.ViewModels.CompetencyAssessments
@model WorkingGroupCollaboratorsViewModel
@{
ViewData["Title"] = "Assign working group";
ViewData["Title"] = "Select working group members";
ViewData["Application"] = "Self-assessment service";
ViewData["HeaderPathName"] = "Self-assessment service";
string errMsg = TempData["CompetencyAssessmentError"]?.ToString();
Expand Down Expand Up @@ -33,9 +33,18 @@
@Model.CompetencyAssessmentName
<span class="nhsuk-u-visually-hidden"> – </span>
</span>
Choose working group members</h1>
=======
<h1>Select working group members</h1>
Select working group members</h1>
<form method="post">
@if (Model.UserRole > 1)
{
<label class="nhsuk-label nhsuk-u-margin-top-6" for="add-user-hint">
<h2>Add a user as a:</h2>
<p>Add a user as a:</p>
</label>
<ul class="nhsuk-list nhsuk-list--bullet">
<li>Contributor</li>
<li>Reviewer</li>
</ul>
<div class="nhsuk-table__panel-with-heading-tab">
<h2 class="nhsuk-table__heading-tab">Working group members</h2>
<table role="presentation" class="nhsuk-table-responsive">
Expand Down Expand Up @@ -90,16 +99,7 @@
</table>
</div>
<input type="hidden" asp-for="ActionName" />
<form method="post">
@if (Model.UserRole > 1)
{
<label class="nhsuk-label nhsuk-u-margin-top-6" for="add-user-hint">
<h2>Add a user as a:</h2>
</label>
<ul class="nhsuk-list nhsuk-list--bullet">
<li>Contributor</li>
<li>Reviewer</li>
</ul>

<div class="@(Model.Error ? "nhsuk-form-group nhsuk-form-group--error" : "nhsuk-form-group")">
<div class=" sort-select-container">
<label class="nhsuk-label" for="UserEmail">
Expand Down
Loading