add appropriate classes

This commit is contained in:
byte[] 2019-12-04 23:32:01 -05:00
parent c070b515c0
commit 953762fbf2

View file

@ -7,17 +7,17 @@ elixir:
= if @conn.assigns.current_user do = if @conn.assigns.current_user do
span#js-subscription-target span#js-subscription-target
a.js-subscription-link href=watch_path class=watch_class data-remote="true" data-method="post" a.js-subscription-link.media-box__header.media-box__header--channel.media-box__header--link href=watch_path class=watch_class data-remote="true" data-method="post"
i.fa.fa-bell> i.fa.fa-bell>
span.hide-mobile span.hide-mobile
' Subscribe ' Subscribe
a.js-subscription-link href=unwatch_path class=unwatch_class data-remote="true" data-method="delete" a.js-subscription-link.media-box__header.media-box__header--channel.media-box__header--link href=unwatch_path class=unwatch_class data-remote="true" data-method="delete"
i.fa.fa-bell-slash> i.fa.fa-bell-slash>
span.hide-mobile span.hide-mobile
' Unsubscribe ' Unsubscribe
- else - else
a href=Routes.pow_session_path(@conn, :new) a.media-box__header.media-box__header--channel.media-box__header--link href=Routes.pow_session_path(@conn, :new)
i.fa.fa-bell> i.fa.fa-bell>
span.hide-mobile span.hide-mobile
' Subscribe ' Subscribe