mirror of https://github.com/abpframework/eventhub
8 changed files with 38 additions and 17 deletions
@ -1,8 +1,15 @@ |
|||||
@model EventHub.Web.Pages.Events.Components.AttendeesArea.AttendeesAreaViewComponent.AttendeesAreaViewComponentModel |
@model EventHub.Web.Pages.Events.Components.AttendeesArea.AttendeesAreaViewComponent.AttendeesAreaViewComponentModel |
||||
<h5 class="detail-head mt-5 font-weight-bold" data-event-id="@Model.EventId">Attendees (@Model.TotalCount)</h5> |
<h5 class="detail-head mt-5 font-weight-bold" data-event-id="@Model.EventId">Attendees (@Model.TotalCount)</h5> |
||||
<div> |
@if (Model.TotalCount > 0) |
||||
@foreach (var attendee in Model.Attendees) |
{ |
||||
{ |
<div> |
||||
<img gravatar-email="@attendee.Email" default-image="Wavatar" gravatar-size="60" class="org-avatar rounded-circle"/> |
@foreach (var attendee in Model.Attendees) |
||||
} |
{ |
||||
</div> |
<img gravatar-email="@attendee.Email" default-image="Wavatar" gravatar-size="40" class="org-avatar rounded-circle"/> |
||||
|
} |
||||
|
</div> |
||||
|
} |
||||
|
else |
||||
|
{ |
||||
|
<p>There is no attendee</p> |
||||
|
} |
||||
|
|||||
Loading…
Reference in new issue