forked from AkkomaGang/akkoma-fe
Add titles to post visibility icons
This commit is contained in:
parent
2dd99c7dd9
commit
14c1704ea1
2 changed files with 6 additions and 1 deletions
|
@ -282,6 +282,11 @@ const Status = {
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
filters: {
|
||||
capitalize: function (str) {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<timeago :since="status.created_at" :auto-update="60"></timeago>
|
||||
</router-link>
|
||||
<div class="visibility-icon" v-if="status.visibility">
|
||||
<i :class="visibilityIcon(status.visibility)"></i>
|
||||
<i :class="visibilityIcon(status.visibility)" :title="status.visibility | capitalize"></i>
|
||||
</div>
|
||||
<a :href="status.external_url" target="_blank" v-if="!status.is_local" class="source_url"><i class="icon-link-ext-alt"></i></a>
|
||||
<template v-if="expandable">
|
||||
|
|
Loading…
Reference in a new issue