Updated to latest framework message username
addresses conflicts
This commit is contained in:
@ -11,31 +11,36 @@
|
|||||||
<td>
|
<td>
|
||||||
<label class="control-label">@title: </label>
|
<label class="control-label">@title: </label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
@if (title == "From")
|
||||||
<input class="form-control" @bind="@username" />
|
{
|
||||||
</td>
|
<td>
|
||||||
|
<input class="form-control" @bind="@username" readonly />
|
||||||
|
</td>
|
||||||
|
}
|
||||||
|
@if (title == "To")
|
||||||
|
{
|
||||||
|
<td>
|
||||||
|
<input class="form-control" @bind="@username" />
|
||||||
|
</td>
|
||||||
|
}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<label class="control-label">Subject: </label>
|
<label class="control-label">Subject: </label>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
@if (title == "From")
|
||||||
<input class="form-control" @bind="@subject" />
|
{
|
||||||
</td>
|
<td>
|
||||||
|
<input class="form-control" @bind="@subject" readonly />
|
||||||
|
</td>
|
||||||
|
}
|
||||||
|
@if (title == "To")
|
||||||
|
{
|
||||||
|
<td>
|
||||||
|
<input class="form-control" @bind="@subject" />
|
||||||
|
</td>
|
||||||
|
}
|
||||||
</tr>
|
</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")
|
@if (title == "From")
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
@ -46,7 +51,7 @@
|
|||||||
<input class="form-control" @bind="@createdon" readonly />
|
<input class="form-control" @bind="@createdon" readonly />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
@if (title == "From")
|
@if (title == "From")
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
@ -57,7 +62,7 @@
|
|||||||
<textarea class="form-control" @bind="@body" rows="5" readonly />
|
<textarea class="form-control" @bind="@body" rows="5" readonly />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
@if (title == "To")
|
@if (title == "To")
|
||||||
{
|
{
|
||||||
<tr>
|
<tr>
|
||||||
@ -68,9 +73,10 @@
|
|||||||
<textarea class="form-control" @bind="@body" rows="5" />
|
<textarea class="form-control" @bind="@body" rows="5" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
@if (reply != string.Empty)
|
@if (reply != string.Empty)
|
||||||
{
|
{
|
||||||
<button type="button" class="btn btn-primary" @onclick="Send">Send</button> }
|
<button type="button" class="btn btn-primary" @onclick="Send">Send</button> }
|
||||||
@ -95,8 +101,8 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
private int notificationid;
|
private int notificationid;
|
||||||
@ -207,5 +213,5 @@
|
|||||||
AddModuleMessage("Error Adding Notification", MessageType.Error);
|
AddModuleMessage("Error Adding Notification", MessageType.Error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user