Make temporarily unmuted posts hideable again.
This commit is contained in:
parent
c402478cca
commit
340b21475d
|
@ -3,7 +3,7 @@
|
||||||
<template v-if="muted">
|
<template v-if="muted">
|
||||||
<div class="media status container muted">
|
<div class="media status container muted">
|
||||||
<small><router-link :to="{ name: 'user-profile', params: { id: status.user.id } }">{{status.user.screen_name}}</router-link></small>
|
<small><router-link :to="{ name: 'user-profile', params: { id: status.user.id } }">{{status.user.screen_name}}</router-link></small>
|
||||||
<button @click="toggleMute">show</button>
|
<a href="#" class="unmute" @click.prevent="toggleMute"><i class="icon-eye-off"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="!muted">
|
<template v-if="!muted">
|
||||||
|
@ -40,11 +40,14 @@
|
||||||
<template v-if="expandable">
|
<template v-if="expandable">
|
||||||
-
|
-
|
||||||
<small>
|
<small>
|
||||||
<a href="#" @click.prevent="toggleExpanded" >Expand</a>
|
<a href="#" @click.prevent="toggleExpanded" ><i class="icon-plus-squared"></i></a>
|
||||||
|
</small>
|
||||||
|
<small v-if="status.user.muted">
|
||||||
|
<a href="#" @click.prevent="toggleMute" ><i class="icon-eye-off"></i></a>
|
||||||
</small>
|
</small>
|
||||||
</template>
|
</template>
|
||||||
<small v-if="!status.is_local" class="source_url">
|
<small v-if="!status.is_local" class="source_url">
|
||||||
<a :href="status.external_url" target="_blank" >Source</a>
|
<a :href="status.external_url" target="_blank" ><i class="icon-binoculars"></i></a>
|
||||||
</small>
|
</small>
|
||||||
</h4>
|
</h4>
|
||||||
|
|
||||||
|
@ -139,4 +142,9 @@
|
||||||
.muted button {
|
.muted button {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.unmute {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue