Merge branch 'feat/more-title-attributes-in-status-header' into 'develop'

Add title attributes to more things in status header

See merge request pleroma/pleroma-fe!1195
This commit is contained in:
Shpuld Shpludson 2020-07-20 14:37:21 +00:00
commit 4528c5c982
2 changed files with 12 additions and 2 deletions

View file

@ -72,7 +72,10 @@
:user="statusoid.user" :user="statusoid.user"
/> />
<div class="media-body faint"> <div class="media-body faint">
<span class="user-name"> <span
class="user-name"
:title="retweeter"
>
<router-link <router-link
v-if="retweeterHtml" v-if="retweeterHtml"
:to="retweeterProfileLink" :to="retweeterProfileLink"
@ -129,16 +132,19 @@
<h4 <h4
v-if="status.user.name_html" v-if="status.user.name_html"
class="user-name" class="user-name"
:title="status.user.name"
v-html="status.user.name_html" v-html="status.user.name_html"
/> />
<h4 <h4
v-else v-else
class="user-name" class="user-name"
:title="status.user.name"
> >
{{ status.user.name }} {{ status.user.name }}
</h4> </h4>
<router-link <router-link
class="account-name" class="account-name"
:title="status.user.screen_name"
:to="userProfileLink" :to="userProfileLink"
> >
{{ status.user.screen_name }} {{ status.user.screen_name }}
@ -227,7 +233,10 @@
> >
<span class="reply-to-text">{{ $t('status.reply_to') }}</span> <span class="reply-to-text">{{ $t('status.reply_to') }}</span>
</span> </span>
<router-link :to="replyProfileLink"> <router-link
:title="replyToName"
:to="replyProfileLink"
>
{{ replyToName }} {{ replyToName }}
</router-link> </router-link>
<span <span

View file

@ -66,6 +66,7 @@
<div class="bottom-line"> <div class="bottom-line">
<router-link <router-link
class="user-screen-name" class="user-screen-name"
:title="user.screen_name"
:to="userProfileLink(user)" :to="userProfileLink(user)"
> >
@{{ user.screen_name }} @{{ user.screen_name }}