revert + message page
This commit is contained in:
parent
2c0e3fd443
commit
46450b120c
|
|
@ -44,7 +44,9 @@
|
|||
SearchMode="@ListSearchMode.AutoSearch"
|
||||
SearchFilterCondition="@ListSearchFilterCondition.Contains"
|
||||
ListRenderMode="ListRenderMode.Virtual"
|
||||
TextFieldName="Name"></DxComboBox>
|
||||
TextFieldName="Name"
|
||||
CssClass="form-field">
|
||||
</DxComboBox>
|
||||
|
||||
<div class="row py-3">
|
||||
|
||||
|
|
@ -134,7 +136,7 @@
|
|||
registration.ReferralId = productOwner[0].AffiliateId;
|
||||
|
||||
var createResult = await UserDataService.CreateGuestUser(registration);
|
||||
if(createResult.isSuccess)
|
||||
if (createResult.isSuccess)
|
||||
{
|
||||
if (createResult.user != null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,44 +1,16 @@
|
|||
<div class="card-body card-admin-body py-2 px-4">
|
||||
@page "/user/messages/{userId:guid}"
|
||||
|
||||
<div class="card-body card-admin-body py-2 px-4">
|
||||
<div class="d-flex flex-column mb-4 pb-2">
|
||||
|
||||
|
||||
|
||||
<div class="media text-muted pt-3">
|
||||
<!--img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="" class="mr-2 rounded" width="32" height="32"-->
|
||||
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
|
||||
<strong class="d-block text-gray-dark">username</strong>
|
||||
Donec id elit non mi porta gravida at eget metus...
|
||||
</p>
|
||||
</div>
|
||||
<div class="media text-muted pt-3">
|
||||
|
||||
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
|
||||
<strong class="d-block text-gray-dark">username</strong>
|
||||
Donec id elit non mi porta gravida at eget metus...
|
||||
</p>
|
||||
</div>
|
||||
<div class="media text-muted pt-3">
|
||||
|
||||
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
|
||||
<strong class="d-block text-gray-dark">username</strong>
|
||||
Donec id elit non mi porta gravida at eget metus...
|
||||
</p>
|
||||
</div>
|
||||
<div class="media text-muted pt-3">
|
||||
|
||||
<p class="media-body pb-3 mb-0 small lh-125 border-bottom border-gray">
|
||||
<strong class="d-block text-gray-dark">username</strong>
|
||||
Donec id elit non mi porta gravida at eget metus...
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@code {
|
||||
[Parameter] public Guid? userId { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,7 +77,11 @@
|
|||
</Items>
|
||||
</DxMenuItem-->
|
||||
@* <DxMenuItem NavigateUrl="user/messages" Text="Messages" IconCssClass="fa-solid fa-envelope" /> *@
|
||||
<DxMenuItem NavigateUrl="user/messages" IconCssClass="fa-solid fa-envelope" />
|
||||
@{
|
||||
string url3 = $"user/messages/{userId}";
|
||||
<DxMenuItem NavigateUrl="@url3" IconCssClass="fa-solid fa-envelope" />
|
||||
}
|
||||
|
||||
<DxMenuItem CssClass="notoggle" Position="ItemPosition.End">
|
||||
<TextTemplate>
|
||||
<div class="fa-solid fa-user" />
|
||||
|
|
@ -120,6 +124,7 @@
|
|||
private bool userHasHotels = false;
|
||||
private string? userEmail;
|
||||
private string? userFullName;
|
||||
private Guid? userId;
|
||||
|
||||
private Guid driverPermissionId;
|
||||
|
||||
|
|
@ -151,6 +156,7 @@
|
|||
}
|
||||
if (SessionService.User != null)
|
||||
{
|
||||
userId = SessionService.User.UserId;
|
||||
driverPermissionId = SessionService.DriverPersmissionId;
|
||||
userEmail = SessionService.User.Email;
|
||||
if (SessionService.User.UserModelDto.ProfileDto.FullName != null)
|
||||
|
|
|
|||
Loading…
Reference in New Issue