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

52 lines
2.4 KiB
Text
Raw 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
2023-11-23 17:07:49 +01:00
strong>
2021-11-30 22:17:47 +01:00
' 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
2024-05-03 22:59:29 +02:00
div class="block block--fixed staff-block__category #{category_class(header)}"
i class="fa #{category_icon(header)}"
= header
2021-11-30 22:17:47 +01:00
p.staff-block__description
2024-05-20 22:30:41 +02:00
i.fa.icon--padded.small.fa-info-circle>
2021-11-30 22:17:47 +01:00
= 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
2024-06-06 22:28:35 +02:00
a.profile-block href=~p"/profiles/#{user}"
2024-05-01 00:10:05 +02:00
= render PhilomenaWeb.UserAttributionView, "_user_avatar.html", object: %{user: user}, class: "avatar--large"
2021-11-30 22:17:47 +01:00
p
b = user.name
.staff-block__info
2024-06-06 22:28:35 +02:00
= link to: ~p"/conversations/new?#{[recipient: user.name]}", class: "button button--secondary" 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)