Use display name instead of screen name in smile tooltip

Fixes #127
This commit is contained in:
Robin B 2020-05-31 03:07:42 +02:00 committed by Andreas Nedbal
parent 79416c310b
commit 07d73b6fa4
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@
- else
- a.smiles.all.each do |smile|
%a{ href: show_user_profile_path(smile.user.screen_name),
title: smile.user.screen_name,
title: smile.user.display_name,
data: { toggle: :tooltip, placement: :top, smile_id: smile.id } }
%img.avatar-xs{ src: smile.user.profile_picture.url(:medium) }