From ac6480186d05eea30911d391bbfcd4868fece7e1 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 3 Mar 2018 20:15:49 +0100 Subject: [PATCH] Added tooltips to badges --- layout/sidebar/sidebar.pixy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layout/sidebar/sidebar.pixy b/layout/sidebar/sidebar.pixy index bb7334b2..db009ac1 100644 --- a/layout/sidebar/sidebar.pixy +++ b/layout/sidebar/sidebar.pixy @@ -8,13 +8,13 @@ component Sidebar(user *arn.User) img.user-image.lazy(src=utils.EmptyImage(), data-src="/images/brand/64.png", data-webp="true", alt="Anime Notifier") if user != nil - a.badge.left-badge.ajax(href="/settings") + a.badge.left-badge.ajax(href="/settings", title="Settings") RawIcon("cog") - a#notification-icon.badge.right-badge.ajax(href="/notifications") + a#notification-icon.badge.right-badge.ajax(href="/notifications", title="Notifications") RawIcon("bell") - a#notification-count.badge.right-badge.ajax.badge-important.hidden(href="/notifications") 0 + a#notification-count.badge.right-badge.ajax.badge-important.hidden(href="/notifications", title="Notifications") 0 //- Sidebar buttons if user != nil