Update TimelineStatus, adjust custom filter warning design

pull/5928/head
Daniel Supernault 5 months ago
parent a010c860e0
commit f72a054fe8
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -46,18 +46,18 @@
</template> </template>
<template v-else> <template v-else>
<div class="card shadow-none mx-3 border-0"> <div class="card shadow-none mt-n2 mx-3 border-0">
<div class="card-body bg-warning-light p-3"> <div class="card-body bg-warning-light p-3 ft-std">
<div class="d-flex justify-content-center align-items-center"> <div class="badge badge-warning p-2" style="border-radius: 10px;">
<i class="fas fa-exclamation-triangle text-warning mr-2" aria-hidden="true"></i> <i class="fas fa-exclamation-triangle mr-1" aria-hidden="true"></i>
<h5 class="card-title mb-0">Filtered</h5> <span>Warning</span>
</div> </div>
<p class="card-text mt-2 text-center"> <p class="card-text mt-3" style="word-break:break-all;">
Hidden because it contains the following filtered keywords: This post contains the following filtered keyword{{ filteredTerms?.length > 1 ? 's' : ''}}:
<span v-for="term in filteredTerms" class="badge badge-warning mr-1">{{ term }}</span> <span v-for="(term, idx) in filteredTerms" class="font-weight-bold">{{ term }}{{filteredTerms?.length === (idx + 1) ? '' : ', '}}</span>
</p> </p>
<button class="btn btn-primary rounded-pill btn-block" @click="showHiddenStatus()"> <button class="btn btn-outline-primary font-weight-bold" @click="showHiddenStatus()" style="border-radius: 10px;">
<i class="fas fa-eye mr-1"></i> Show Show Content
</button> </button>
</div> </div>
</div> </div>

Loading…
Cancel
Save