Show account on span title
FossilOrigin-Name: 37c65ef4659592567dcf450f69fd37c81f46ab84ee9ff30921a9dd77991b334c
This commit is contained in:
parent
8723021e83
commit
d20e908f49
3 changed files with 4 additions and 3 deletions
|
@ -61,6 +61,7 @@ char* construct_notification_action(struct mstdnt_notification* notif, int* size
|
|||
|
||||
s = easprintf(¬if_html, data_notification_action_html,
|
||||
notif->account->avatar,
|
||||
notif->account->acct,
|
||||
notif->account->display_name,
|
||||
notification_type_compact_str(notif->type),
|
||||
notification_type_svg(notif->type),
|
||||
|
@ -85,12 +86,12 @@ char* construct_notification_compact(struct mstdnt_notification* notif, int* siz
|
|||
notif->status->replies_count,
|
||||
notif->status->reblogs_count,
|
||||
notif->status->favourites_count);
|
||||
|
||||
|
||||
size_t s = easprintf(¬if_html, data_notification_compact_html,
|
||||
notif->account->avatar,
|
||||
/* If there is an icon, the text doesn't shift up relative to the SVG, this is a hack on the CSS side */
|
||||
strlen(type_svg) == 0 ? "" : "-with-icon",
|
||||
notif->account->acct,
|
||||
notif->account->display_name,
|
||||
type_str,
|
||||
type_svg,
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<td>
|
||||
<div class="notification-info-format">
|
||||
<span class="notification-text-group-with-icon">
|
||||
<span class="username">%s</span>
|
||||
<span title="%s" class="username">%s</span>
|
||||
<span class="action">%s</span>
|
||||
</span> %s
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<td>
|
||||
<div class="notification-info">
|
||||
<span class="notification-text-group%s">
|
||||
<span class="username">%s</span>
|
||||
<span title="%s" class="username">%s</span>
|
||||
<span class="action">%s</span>
|
||||
</span> %s
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue