philomena/lib/philomena_web/templates/staff/index.html.slime

50 lines
2.3 KiB
Text
Raw Permalink Normal View History

2019-11-29 23:01:54 +01:00
h1 Staff
2021-11-30 22:17:47 +01:00
.block.block--fixed.block--warning
h3 Do you wish to submit a report?
p
strong>
' Do
em not
' PM staff members with your reports. Instead, if you think something breaks
= link to: "/pages/rules" do
| the rules
' , use the "Report" button, which is included next to all user-created content on the site. This will ensure swift handling of your issue, since most staff members don't check their PMs nearly as vigilantly as the reports queue.
p Staff PMs are only for general questions or for getting help with using the site.
.block.block--fixed
p
' Before contacting any of the staff members, you should try to ask your question in our
= link to: "/pages/discord" do
' Discord
' or
= link to: "/pages/irc" do
' IRC channels.
p Keep in mind that all staff are unpaid volunteers who donate their time and effort into making sure this site remains organized and operational. Please do not harass them, and try to keep your PMs constructive. We will happily answer your questions, however receiving plenty of PMs for no reason gets tiring and impacts our ability to tend to more important matters, so please make sure you actually have a need to contact a staff member before doing so.
2019-11-29 23:01:54 +01:00
.staff-block
= for {header, users} <- @categories do
2021-11-30 22:17:47 +01:00
- header = to_string(header)
2019-11-29 23:01:54 +01:00
= if Enum.any?(users) do
2021-11-30 22:17:47 +01:00
div class="block block--fixed staff-block__category #{category_class(header)}" = header
p.staff-block__description
i.fa.fa-fw.fa-info-circle>
= category_description(header)
2019-11-29 23:01:54 +01:00
2021-11-30 22:17:47 +01:00
.staff-block__grid
= for user <- users do
2021-11-30 23:09:04 +01:00
.block.flex.flex--column
2021-11-30 22:17:47 +01:00
.block__content.staff-block__user
.staff-block__user-card
.staff-block__avatar
a.profile-block href=~p"/profiles/#{user}"
2021-11-30 22:17:47 +01:00
= render PhilomenaWeb.UserAttributionView, "_user_avatar.html", object: %{user: user}, class: "avatar--125px"
p
b = user.name
.staff-block__info
= link to: ~p"/conversations/new?#{[recipient: user.name]}", class: "button" do
2021-11-30 22:17:47 +01:00
i.fa.fa-envelope>
' Send PM
hr.staff-block__separator
2021-11-30 23:09:04 +01:00
p.staff-block__user-description = staff_description(user)