mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 10:16:03 +01:00
13 lines
577 B
Text
13 lines
577 B
Text
- if type == "follow"
|
|
= button_to relationships_path(screen_name:, type:), form: { id: "#{type}-#{screen_name}" }, class: "btn btn-primary", form_class: "d-grid" do
|
|
= t("voc.follow")
|
|
|
|
- if type == "block"
|
|
= button_to relationships_path(screen_name:, type:), form: { id: "#{type}-#{screen_name}" }, class: "dropdown-item" do
|
|
%i.fa.fa-minus-circle.fa-fw
|
|
= t("voc.block")
|
|
|
|
- if type == "mute"
|
|
= button_to relationships_path(screen_name:, type:), form: { id: "#{type}-#{screen_name}" }, class: "dropdown-item" do
|
|
%i.fa.fa-volume-off.fa-fw
|
|
= t("voc.mute")
|