mirror of https://github.com/abpframework/abp
parent
b3fae140c7
commit
0bce76cc34
@ -1,6 +1,6 @@
|
||||
{
|
||||
"culture": "en",
|
||||
"texts": {
|
||||
|
||||
"PickYourReaction": "Pick your reaction"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
{
|
||||
"culture": "tr",
|
||||
"texts": {
|
||||
"PickYourReaction": "Tepkinizi seçin"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,22 +1,18 @@
|
||||
@model Volo.CmsKit.Web.Pages.CmsKit.Shared.Components.ReactionSelection.ReactionSelectionViewModel
|
||||
<span class="cms-reaction-selection" data-entity-type="@Model.EntityType" data-entity-id="@Model.EntityId">
|
||||
<div>
|
||||
Pick a reaction:
|
||||
<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>
|
||||
<div class="cms-reaction-selection-popover-content" style="display: none">
|
||||
@foreach (var reaction in Model.Reactions)
|
||||
{
|
||||
<span class="mr-2">
|
||||
<img src="@reaction.Icon" width="16" height="16" data-name="@reaction.Name" class="cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")"/>
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
<div>
|
||||
Current reactions:
|
||||
@foreach (var reaction in Model.Reactions.Where(r => r.Count > 0))
|
||||
{
|
||||
<span class="mr-2">
|
||||
<img src="@reaction.Icon" width="20" height="20" data-name="@reaction.Name" class="cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")"/>
|
||||
<span> @reaction.Count</span>
|
||||
<span class="mr-1">
|
||||
<img src="@reaction.Icon" width="18" height="18" data-name="@reaction.Name" class="cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")"/>
|
||||
</span>
|
||||
}
|
||||
</div>
|
||||
@foreach (var reaction in Model.Reactions.Where(r => r.Count > 0))
|
||||
{
|
||||
<span class="mr-1">
|
||||
<img src="@reaction.Icon" width="18" height="18" data-name="@reaction.Name" class="cms-reaction-icon @(reaction.IsSelectedByCurrentUser ? "cms-reaction-icon-selected" : "")"/>@(reaction.Count)
|
||||
</span>
|
||||
}
|
||||
</span>
|
||||
|
||||
Loading…
Reference in new issue