catstodon/app/views/application/mailer/_button.html.haml

8 lines
317 B
Text
Raw Normal View History

%table.email-btn-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
%td.email-btn-td
- if defined?(has_arrow) && !has_arrow
= link_to text, url, class: 'email-btn-a email-btn-hover'
- else
= link_to "#{text} ➜", url, class: 'email-btn-a email-btn-hover'