mirror of https://github.com/abpframework/abp.git
12 changed files with 32 additions and 12 deletions
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@ -1,18 +1,19 @@ |
|||||
@model Volo.CmsKit.Web.Pages.CmsKit.Shared.Components.ReactionSelection.ReactionSelectionViewModel |
@model Volo.CmsKit.Web.Pages.CmsKit.Shared.Components.ReactionSelection.ReactionSelectionViewModel |
||||
<span class="cms-reaction-area" data-entity-type="@Model.EntityType" data-entity-id="@Model.EntityId"> |
<span class="cms-reaction-area" data-entity-type="@Model.EntityType" data-entity-id="@Model.EntityId"> |
||||
<span class="cms-reaction-select-icon"><i class="fa fa-smile-o"></i></span> |
<a class="cms-reaction-select-icon" tabindex="0"><i class="fa fa-smile-o"></i></a> |
||||
<div class="cms-reaction-selection-popover-content" style="display: none"> |
<div class="cms-reaction-selection-popover-content" style="display: none"> |
||||
@foreach (var reaction in Model.Reactions) |
@foreach (var reaction in Model.Reactions) |
||||
{ |
{ |
||||
<span class="mr-1"> |
<span class="mr-1 cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")" data-reaction-name="@reaction.Name"> |
||||
<img src="@reaction.Icon" width="18" height="18" data-name="@reaction.Name" class="cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")"/> |
<img src="@reaction.Icon" width="18" height="18"/> |
||||
</span> |
</span> |
||||
} |
} |
||||
</div> |
</div> |
||||
@foreach (var reaction in Model.Reactions.Where(r => r.Count > 0)) |
@foreach (var reaction in Model.Reactions.Where(r => r.Count > 0)) |
||||
{ |
{ |
||||
<span class="mr-1"> |
<span class="mr-1 cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")" data-reaction-name="@reaction.Name"> |
||||
<img src="@reaction.Icon" width="18" height="18" data-name="@reaction.Name" class="cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")"/>@(reaction.Count) |
<img src="@reaction.Icon" width="18" height="18"/> |
||||
|
@(reaction.Count) |
||||
</span> |
</span> |
||||
} |
} |
||||
</span> |
</span> |
||||
|
|||||
Loading…
Reference in new issue