Updated to latest framework message username

addresses conflicts
This commit is contained in:
Cody 2020-06-05 17:57:25 -07:00 committed by GitHub
parent f854b948ce
commit af1aab5b8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,31 +11,36 @@
<td>
<label class="control-label">@title: </label>
</td>
<td>
<input class="form-control" @bind="@username" />
</td>
@if (title == "From")
{
<td>
<input class="form-control" @bind="@username" readonly />
</td>
}
@if (title == "To")
{
<td>
<input class="form-control" @bind="@username" />
</td>
}
</tr>
<tr>
<td>
<label class="control-label">Subject: </label>
</td>
<td>
<input class="form-control" @bind="@subject" />
</td>
@if (title == "From")
{
<td>
<input class="form-control" @bind="@subject" readonly />
</td>
}
@if (title == "To")
{
<td>
<input class="form-control" @bind="@subject" />
</td>
}
</tr>
@if (title == "From")
{
<td>
<input class="form-control" @bind="@subject" readonly />
</td>
}
@if (title == "To")
{
<td>
<input class="form-control" @bind="@subject" />
</td>
</tr>}
@if (title == "From")
{
<tr>
@ -46,7 +51,7 @@
<input class="form-control" @bind="@createdon" readonly />
</td>
</tr>
}
}
@if (title == "From")
{
<tr>
@ -57,7 +62,7 @@
<textarea class="form-control" @bind="@body" rows="5" readonly />
</td>
</tr>
}
}
@if (title == "To")
{
<tr>
@ -68,9 +73,10 @@
<textarea class="form-control" @bind="@body" rows="5" />
</td>
</tr>
}
}
</table>
@if (reply != string.Empty)
{
<button type="button" class="btn btn-primary" @onclick="Send">Send</button> }
@ -95,8 +101,8 @@
</td>
</tr>
</table>
}
}
}
@code {
private int notificationid;
@ -207,5 +213,5 @@
AddModuleMessage("Error Adding Notification", MessageType.Error);
}
}
}