mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-12 12:08:02 +01:00
33 lines
1.2 KiB
Text
33 lines
1.2 KiB
Text
h1 Livestreams
|
|
|
|
- route = fn p -> Routes.channel_path(@conn, :index, p) end
|
|
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @channels, route: route, conn: @conn
|
|
|
|
/= form_tag channels_path, method: :get, class: 'hform', enforce_utf8: false do
|
|
.field
|
|
= text_field_tag :cq, params[:cq], class: 'input hform__text', placeholder: 'Search channels'
|
|
= submit_tag 'Search', class: 'hform__button button'
|
|
|
|
.block
|
|
.block__header
|
|
= pagination
|
|
|
|
.block__content
|
|
= for channel <- @channels do
|
|
= render PhilomenaWeb.ChannelView, "_channel_box.html", channel: channel, conn: @conn, subscriptions: @subscriptions
|
|
|
|
.block__header
|
|
= pagination
|
|
|
|
br
|
|
= if can?(@conn, :create, Philomena.Channels.Channel) do
|
|
= link "New Channel", to: Routes.channel_path(@conn, :new)
|
|
|
|
h2 FAQ
|
|
p
|
|
strong> Q: Do you host streams?
|
|
| A: No, we cheat and just link to streams on Livestream/Picarto since that's where (almost) everyone is already. This is simply a nice way to track streaming artists.
|
|
p
|
|
strong> Q: How do I get my stream/a friend's stream/<artist>'s stream here?
|
|
' A: Send a private message to a site administrator
|
|
' with a link to the stream and the artist tag if applicable.
|