about summary refs log tree commit diff
path: root/app/views/auth
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-03 18:04:35 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-03 11:04:35 +0200
commit92f1c474f305de2383a4d2b3dffbcc20800cfb6f (patch)
tree38547365a24eb5ae5aac16a5b654636ce593029c /app/views/auth
parenta6d02cff368d96178b0843ef021232d2187abbcd (diff)
Add fa-fw class to user agent icon (#4047)
Diffstat (limited to 'app/views/auth')
-rw-r--r--app/views/auth/registrations/_sessions.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/auth/registrations/_sessions.html.haml b/app/views/auth/registrations/_sessions.html.haml
index 11c0d4e31..4521aad0a 100644
--- a/app/views/auth/registrations/_sessions.html.haml
+++ b/app/views/auth/registrations/_sessions.html.haml
@@ -11,9 +11,10 @@
     - @sessions.each do |session|
       %tr
         %td
-          %span{ title: session.user_agent }= fa_icon session_device_icon(session)
-          = ' '
-          = t 'sessions.description', browser: t("sessions.browsers.#{session.browser}"), platform: t("sessions.platforms.#{session.platform}")
+          %span{ title: session.user_agent }<
+            = fa_icon "#{session_device_icon(session)} fw", 'aria-label' => session_device_icon(session)
+            = ' '
+            = t 'sessions.description', browser: t("sessions.browsers.#{session.browser}"), platform: t("sessions.platforms.#{session.platform}")
         %td
           %samp= session.ip
         %td