Merge pull request #1684 from pixelfed/staging

Update components, change admin badge
This commit is contained in:
daniel 2019-09-08 22:12:02 -06:00 committed by GitHub
commit ab765705a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

BIN
public/js/profile.js vendored

Binary file not shown.

BIN
public/js/status.js vendored

Binary file not shown.

BIN
public/js/timeline.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -21,8 +21,8 @@
<div class="username"> <div class="username">
<span class="username-link font-weight-bold text-dark cursor-pointer" @click="redirect(statusProfileUrl)">{{ statusUsername }}</span> <span class="username-link font-weight-bold text-dark cursor-pointer" @click="redirect(statusProfileUrl)">{{ statusUsername }}</span>
<span v-if="status.account.is_admin" class="fa-stack" title="Admin Account" data-toggle="tooltip" style="height:1em; line-height:1em; max-width:19px;"> <span v-if="status.account.is_admin" class="fa-stack" title="Admin Account" data-toggle="tooltip" style="height:1em; line-height:1em; max-width:19px;">
<i class="fas fa-certificate text-primary fa-stack-1x"></i> <i class="fas fa-certificate text-danger fa-stack-1x"></i>
<i class="fas fa-check 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 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>
</div> </div>
@ -86,8 +86,8 @@
<div class="username"> <div class="username">
<span class="username-link font-weight-bold text-dark cursor-pointer" @click="redirect(statusProfileUrl)">{{ statusUsername }}</span> <span class="username-link font-weight-bold text-dark cursor-pointer" @click="redirect(statusProfileUrl)">{{ statusUsername }}</span>
<span v-if="status.account.is_admin" class="fa-stack" title="Admin Account" data-toggle="tooltip" style="height:1em; line-height:1em; max-width:19px;"> <span v-if="status.account.is_admin" class="fa-stack" title="Admin Account" data-toggle="tooltip" style="height:1em; line-height:1em; max-width:19px;">
<i class="fas fa-certificate text-primary fa-stack-1x"></i> <i class="fas fa-certificate text-danger fa-stack-1x"></i>
<i class="fas fa-check 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 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>
</div> </div>

View file

@ -87,8 +87,8 @@
<div class="d-none d-md-flex username-bar pb-3 align-items-center"> <div class="d-none d-md-flex username-bar pb-3 align-items-center">
<span class="font-weight-ultralight h3 mb-0">{{profile.username}}</span> <span class="font-weight-ultralight h3 mb-0">{{profile.username}}</span>
<span class="pl-1 pb-2 fa-stack" v-if="profile.is_admin" title="Admin Account" data-toggle="tooltip"> <span class="pl-1 pb-2 fa-stack" v-if="profile.is_admin" title="Admin Account" data-toggle="tooltip">
<i class="fas fa-certificate fa-lg text-primary fa-stack-1x"></i> <i class="fas fa-certificate fa-lg text-danger fa-stack-1x"></i>
<i class="fas fa-check text-white fa-sm fa-stack-1x" style="font-size:9px;"></i> <i class="fas fa-crown text-white fa-sm fa-stack-1x" style="font-size:9px;"></i>
</span> </span>
<span v-if="profile.id != user.id && user.hasOwnProperty('id')"> <span v-if="profile.id != user.id && user.hasOwnProperty('id')">
<span class="pl-4" v-if="relationship.following == true"> <span class="pl-4" v-if="relationship.following == true">

View file

@ -76,8 +76,8 @@
{{status.account.username}} {{status.account.username}}
</a> </a>
<span v-if="status.account.is_admin" class="fa-stack" title="Admin Account" data-toggle="tooltip" style="height:1em; line-height:1em; max-width:19px;"> <span v-if="status.account.is_admin" class="fa-stack" title="Admin Account" data-toggle="tooltip" style="height:1em; line-height:1em; max-width:19px;">
<i class="fas fa-certificate text-primary fa-stack-1x"></i> <i class="fas fa-certificate text-danger fa-stack-1x"></i>
<i class="fas fa-check 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>
<span v-if="scope != 'home' && status.account.id != profile.id && status.account.relationship"> <span v-if="scope != 'home' && status.account.id != profile.id && status.account.relationship">
<span class="px-1"></span> <span class="px-1"></span>