Update PostComponent, add tagged people to mobile layout

This commit is contained in:
Daniel Supernault 2020-07-21 20:27:27 -06:00
parent 483178afad
commit 7a2c2e780f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -24,7 +24,13 @@
<i class="fas fa-certificate text-danger fa-stack-1x"></i> <i class="fas fa-certificate text-danger fa-stack-1x"></i>
<i class="fas fa-crown text-white fa-sm fa-stack-1x" style="font-size:7px;"></i> <i class="fas fa-crown text-white fa-sm fa-stack-1x" style="font-size:7px;"></i>
</span> </span>
<p v-if="loaded && status.place != null" class="small mb-0 cursor-pointer text-truncate" style="color:#718096" @click="redirect('/discover/places/' + status.place.id + '/' + status.place.slug)">{{status.place.name}}, {{status.place.country}}</p> <p class="mb-0" style="font-size: 10px;">
<span v-if="loaded && status.taggedPeople.length" class="mb-0">
<span class="font-weight-light cursor-pointer" style="color:#718096" title="Tagged People" data-toggle="tooltip" data-placement="bottom" @click="showTaggedPeopleModal()"><i class="fas fa-tag text-lighter"></i> <span class="font-weight-bold">{{status.taggedPeople.length}} Tagged People</span></span>
</span>
<span v-if="loaded && status.place != null && status.taggedPeople.length" class="px-2 font-weight-bold text-lighter">&#8226;</span>
<span v-if="loaded && status.place != null" class="mb-0 cursor-pointer text-truncate" style="color:#718096" @click="redirect('/discover/places/' + status.place.id + '/' + status.place.slug)"><i class="fas fa-map-marked-alt text-lighter"></i> <span class="font-weight-bold">{{status.place.name}}, {{status.place.country}}</span></span>
</p>
</div> </div>
</div> </div>
<div v-if="user != false" class="float-right"> <div v-if="user != false" class="float-right">