いいねユーザー表示の項目表示をアイコンから文字列に変更

This commit is contained in:
shibafu 2019-04-07 23:44:03 +09:00
parent db7dce5830
commit e9c1726567
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
<!-- likes --> <!-- likes -->
@if ($ejaculation->likes_count > 0) @if ($ejaculation->likes_count > 0)
<div class="my-2 py-1 border-top border-bottom d-flex align-items-center"> <div class="my-2 py-1 border-top border-bottom d-flex align-items-center">
<div class="ml-2 mr-3 text-secondary"><span class="oi oi-heart" title="いいねしたユーザー"></span></div> <div class="ml-2 mr-3 text-secondary"><small><strong>{{ $ejaculation->likes_count }}</strong> 件のいいね</small></div>
<div class="like-users flex-grow-1 overflow-hidden"> <div class="like-users flex-grow-1 overflow-hidden">
@foreach ($ejaculation->likes as $like) @foreach ($ejaculation->likes as $like)
@if ($like->user !== null) @if ($like->user !== null)

View File

@ -63,7 +63,7 @@
<!-- likes --> <!-- likes -->
@if ($ejaculation->likes_count > 0) @if ($ejaculation->likes_count > 0)
<div class="my-2 py-1 border-top border-bottom d-flex align-items-center"> <div class="my-2 py-1 border-top border-bottom d-flex align-items-center">
<div class="ml-2 mr-3 text-secondary"><span class="oi oi-heart" title="いいねしたユーザー"></span></div> <div class="ml-2 mr-3 text-secondary"><small><strong>{{ $ejaculation->likes_count }}</strong> 件のいいね</small></div>
<div class="like-users flex-grow-1 overflow-hidden"> <div class="like-users flex-grow-1 overflow-hidden">
@foreach ($ejaculation->likes as $like) @foreach ($ejaculation->likes as $like)
@if ($like->user !== null) @if ($like->user !== null)

View File

@ -69,7 +69,7 @@
<!-- likes --> <!-- likes -->
@if ($ejaculation->likes_count > 0) @if ($ejaculation->likes_count > 0)
<div class="my-2 py-1 border-top border-bottom d-flex align-items-center"> <div class="my-2 py-1 border-top border-bottom d-flex align-items-center">
<div class="ml-2 mr-3 text-secondary"><span class="oi oi-heart" title="いいねしたユーザー"></span></div> <div class="ml-2 mr-3 text-secondary"><small><strong>{{ $ejaculation->likes_count }}</strong> 件のいいね</small></div>
<div class="like-users flex-grow-1 overflow-hidden"> <div class="like-users flex-grow-1 overflow-hidden">
@foreach ($ejaculation->likes as $like) @foreach ($ejaculation->likes as $like)
@if ($like->user !== null) @if ($like->user !== null)