はじまりの大地
このコミットが含まれているのは:
@@ -0,0 +1,11 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| New message on abuse report
|
||||
|
||||
block content
|
||||
p
|
||||
| A new message by #{messageAccountName} was posted on #[a(href=abuseUrl) abuse report ##{abuseId}] on #{instanceName}
|
||||
blockquote #{messageText}
|
||||
br(style="display: none;")
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| Abuse report state changed
|
||||
|
||||
block content
|
||||
p
|
||||
| #[a(href=abuseUrl) Your abuse report ##{abuseId}] on #{instanceName} has been #{isAccepted ? 'accepted' : 'rejected'}
|
||||
@@ -0,0 +1,14 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| An account is pending moderation
|
||||
|
||||
block content
|
||||
p
|
||||
| #[a(href=WEBSERVER.URL) #{instanceName}] received an abuse report for the #{isLocal ? '' : 'remote '}account
|
||||
a(href=accountUrl) #{accountDisplayName}
|
||||
|
||||
p The reporter, #{reporter}, cited the following reason(s):
|
||||
blockquote #{reason}
|
||||
br(style="display: none;")
|
||||
@@ -0,0 +1,258 @@
|
||||
//-
|
||||
The email background color is defined in three places:
|
||||
1. body tag: for most email clients
|
||||
2. center tag: for Gmail and Inbox mobile apps and web versions of Gmail, GSuite, Inbox, Yahoo, AOL, Libero, Comcast, freenet, Mail.ru, Orange.fr
|
||||
3. mso conditional: For Windows 10 Mail
|
||||
- var backgroundColor = "#fff";
|
||||
- var mainColor = "#f2690d";
|
||||
doctype html
|
||||
head
|
||||
// This template is heavily adapted from the Cerberus Fluid template. Kudos to them!
|
||||
meta(charset='utf-8')
|
||||
//- utf-8 works for most cases
|
||||
meta(name='viewport' content='width=device-width')
|
||||
//- Forcing initial-scale shouldn't be necessary
|
||||
meta(http-equiv='X-UA-Compatible' content='IE=edge')
|
||||
//- Use the latest (edge) version of IE rendering engine
|
||||
meta(name='x-apple-disable-message-reformatting')
|
||||
//- Disable auto-scale in iOS 10 Mail entirely
|
||||
meta(name='format-detection' content='telephone=no,address=no,email=no,date=no,url=no')
|
||||
//- Tell iOS not to automatically link certain text strings.
|
||||
meta(name='color-scheme' content='light')
|
||||
meta(name='supported-color-schemes' content='light')
|
||||
//- The title tag shows in email notifications, like Android 4.4.
|
||||
title #{subject}
|
||||
//- What it does: Makes background images in 72ppi Outlook render at correct size.
|
||||
//if gte mso 9
|
||||
xml
|
||||
o:officedocumentsettings
|
||||
o:allowpng
|
||||
o:pixelsperinch 96
|
||||
//- CSS Reset : BEGIN
|
||||
style.
|
||||
/* What it does: Tells the email client that only light styles are provided but the client can transform them to dark. A duplicate of meta color-scheme meta tag above. */
|
||||
:root {
|
||||
color-scheme: light;
|
||||
supported-color-schemes: light;
|
||||
}
|
||||
/* What it does: Remove spaces around the email design added by some email clients. */
|
||||
/* Beware: It can remove the padding / margin and add a background color to the compose a reply window. */
|
||||
html,
|
||||
body {
|
||||
margin: 0 auto !important;
|
||||
padding: 0 !important;
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
/* What it does: Stops email clients resizing small text. */
|
||||
* {
|
||||
-ms-text-size-adjust: 100%;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
/* What it does: Centers email on Android 4.4 */
|
||||
div[style*="margin: 16px 0"] {
|
||||
margin: 0 !important;
|
||||
}
|
||||
/* What it does: forces Samsung Android mail clients to use the entire viewport */
|
||||
#MessageViewBody, #MessageWebViewDiv{
|
||||
width: 100% !important;
|
||||
}
|
||||
/* What it does: Stops Outlook from adding extra spacing to tables. */
|
||||
table,
|
||||
td {
|
||||
mso-table-lspace: 0pt !important;
|
||||
mso-table-rspace: 0pt !important;
|
||||
}
|
||||
/* What it does: Fixes webkit padding issue. */
|
||||
table {
|
||||
border-spacing: 0 !important;
|
||||
border-collapse: collapse !important;
|
||||
table-layout: fixed !important;
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
/* What it does: Uses a better rendering method when resizing images in IE. */
|
||||
img {
|
||||
-ms-interpolation-mode:bicubic;
|
||||
}
|
||||
/* What it does: Prevents Windows 10 Mail from underlining links despite inline CSS. Styles for underlined links should be inline. */
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:not(.nocolor) {
|
||||
color: #{mainColor};
|
||||
}
|
||||
a.nocolor {
|
||||
color: inherit !important;
|
||||
}
|
||||
/* What it does: A work-around for email clients meddling in triggered links. */
|
||||
a[x-apple-data-detectors], /* iOS */
|
||||
.unstyle-auto-detected-links a,
|
||||
.aBn {
|
||||
border-bottom: 0 !important;
|
||||
cursor: default !important;
|
||||
color: inherit !important;
|
||||
text-decoration: none !important;
|
||||
font-size: inherit !important;
|
||||
font-family: inherit !important;
|
||||
font-weight: inherit !important;
|
||||
line-height: inherit !important;
|
||||
}
|
||||
/* What it does: Prevents Gmail from displaying a download button on large, non-linked images. */
|
||||
.a6S {
|
||||
display: none !important;
|
||||
opacity: 0.01 !important;
|
||||
}
|
||||
/* What it does: Prevents Gmail from changing the text color in conversation threads. */
|
||||
.im {
|
||||
color: inherit !important;
|
||||
}
|
||||
/* If the above doesn't work, add a .g-img class to any image in question. */
|
||||
img.g-img + div {
|
||||
display: none !important;
|
||||
}
|
||||
/* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89 */
|
||||
/* Create one of these media queries for each additional viewport size you'd like to fix */
|
||||
/* iPhone 4, 4S, 5, 5S, 5C, and 5SE */
|
||||
@media only screen and (min-device-width: 320px) and (max-device-width: 374px) {
|
||||
u ~ div .email-container {
|
||||
min-width: 320px !important;
|
||||
}
|
||||
}
|
||||
/* iPhone 6, 6S, 7, 8, and X */
|
||||
@media only screen and (min-device-width: 375px) and (max-device-width: 413px) {
|
||||
u ~ div .email-container {
|
||||
min-width: 375px !important;
|
||||
}
|
||||
}
|
||||
/* iPhone 6+, 7+, and 8+ */
|
||||
@media only screen and (min-device-width: 414px) {
|
||||
u ~ div .email-container {
|
||||
min-width: 414px !important;
|
||||
}
|
||||
}
|
||||
//- CSS Reset : END
|
||||
//- CSS for PeerTube : START
|
||||
style.
|
||||
blockquote {
|
||||
margin-left: 0;
|
||||
padding-left: 20px;
|
||||
border-left: 2px solid #f2690d;
|
||||
}
|
||||
//- CSS for PeerTube : END
|
||||
//- Progressive Enhancements : BEGIN
|
||||
style.
|
||||
/* What it does: Hover styles for buttons */
|
||||
.button-td,
|
||||
.button-a {
|
||||
transition: all 100ms ease-in;
|
||||
}
|
||||
.button-td-primary:hover,
|
||||
.button-a-primary:hover {
|
||||
background: #555555 !important;
|
||||
border-color: #555555 !important;
|
||||
}
|
||||
/* Media Queries */
|
||||
@media screen and (max-width: 600px) {
|
||||
/* What it does: Adjust typography on small screens to improve readability */
|
||||
.email-container p {
|
||||
font-size: 17px !important;
|
||||
}
|
||||
}
|
||||
//- Progressive Enhancements : END
|
||||
|
||||
body(width="100%" style="margin: 0; padding: 0 !important; mso-line-height-rule: exactly; background-color: #{backgroundColor};")
|
||||
center(role='article' aria-roledescription='email' lang='en' style='width: 100%; background-color: #{backgroundColor};')
|
||||
//if mso | IE
|
||||
table(role='presentation' border='0' cellpadding='0' cellspacing='0' width='100%' style='background-color: #fff;')
|
||||
tr
|
||||
td
|
||||
//- Visually Hidden Preheader Text : BEGIN
|
||||
div(style='max-height:0; overflow:hidden; mso-hide:all;' aria-hidden='true')
|
||||
block preheader
|
||||
//- Visually Hidden Preheader Text : END
|
||||
|
||||
//- Create white space after the desired preview text so email clients don’t pull other distracting text into the inbox preview. Extend as necessary.
|
||||
//- Preview Text Spacing Hack : BEGIN
|
||||
div(style='display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;')
|
||||
| ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
|
||||
//- Preview Text Spacing Hack : END
|
||||
|
||||
//-
|
||||
Set the email width. Defined in two places:
|
||||
1. max-width for all clients except Desktop Windows Outlook, allowing the email to squish on narrow but never go wider than 600px.
|
||||
2. MSO tags for Desktop Windows Outlook enforce a 600px width.
|
||||
.email-container(style='max-width: 600px; margin: 0 auto;')
|
||||
//if mso
|
||||
table(align='center' role='presentation' cellspacing='0' cellpadding='0' border='0' width='600')
|
||||
tr
|
||||
td
|
||||
//- Email Body : BEGIN
|
||||
table(align='center' role='presentation' cellspacing='0' cellpadding='0' border='0' width='100%' style='margin: auto;')
|
||||
//- 1 Column Text + Button : BEGIN
|
||||
tr
|
||||
td(style='background-color: #ffffff;')
|
||||
table(role='presentation' cellspacing='0' cellpadding='0' border='0' width='100%')
|
||||
tr
|
||||
td(style='padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;')
|
||||
table(role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%")
|
||||
tr
|
||||
td(width="40px")
|
||||
img(src=`${WEBSERVER.URL}/client/assets/images/icons/icon-192x192.png` width="auto" height="30px" alt="" border="0" style="height: 30px; background: #ffffff; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #555555;")
|
||||
td
|
||||
h1(style='margin: 10px 0 10px 0; font-family: sans-serif; font-size: 25px; line-height: 30px; color: #333333; font-weight: normal;')
|
||||
block title
|
||||
if title
|
||||
| #{title}
|
||||
else
|
||||
| Something requires your attention
|
||||
p(style='margin: 0;')
|
||||
block body
|
||||
if action
|
||||
tr
|
||||
td(style='padding: 0 20px;')
|
||||
//- Button : BEGIN
|
||||
table(align='center' role='presentation' cellspacing='0' cellpadding='0' border='0' style='margin: auto;')
|
||||
tr
|
||||
td.button-td.button-td-primary(style='border-radius: 4px; background: #222222;')
|
||||
a.button-a.button-a-primary(href=action.url style='background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; color: #ffffff; display: block; border-radius: 4px;') #{action.text}
|
||||
//- Button : END
|
||||
//- 1 Column Text + Button : END
|
||||
//- Clear Spacer : BEGIN
|
||||
tr
|
||||
td(aria-hidden='true' height='20' style='font-size: 0px; line-height: 0px;')
|
||||
br
|
||||
//- Clear Spacer : END
|
||||
//- Email Body : END
|
||||
//- Email Footer : BEGIN
|
||||
unless hideNotificationPreferencesLink
|
||||
table(align='center' role='presentation' cellspacing='0' cellpadding='0' border='0' width='100%' style='margin: auto;')
|
||||
tr
|
||||
td(style='padding: 20px; padding-bottom: 0px; font-family: sans-serif; font-size: 12px; line-height: 15px; text-align: center; color: #888888;')
|
||||
webversion
|
||||
a.nocolor(href=`${WEBSERVER.URL}/my-account/notifications` style='color: #cccccc; font-weight: bold;') View in your notifications
|
||||
br
|
||||
tr
|
||||
td(style='padding: 20px; padding-top: 10px; font-family: sans-serif; font-size: 12px; line-height: 15px; text-align: center; color: #888888;')
|
||||
unsubscribe
|
||||
a.nocolor(href=`${WEBSERVER.URL}/my-account/settings#notifications` style='color: #888888;') Manage your notification preferences in your profile
|
||||
br
|
||||
//- Email Footer : END
|
||||
//if mso
|
||||
//- Full Bleed Background Section : BEGIN
|
||||
table(role='presentation' cellspacing='0' cellpadding='0' border='0' width='100%' style=`background-color: ${mainColor};`)
|
||||
tr
|
||||
td
|
||||
.email-container(align='center' style='max-width: 600px; margin: auto;')
|
||||
//if mso
|
||||
table(role='presentation' cellspacing='0' cellpadding='0' border='0' width='600' align='center')
|
||||
tr
|
||||
td
|
||||
table(role='presentation' cellspacing='0' cellpadding='0' border='0' width='100%')
|
||||
tr
|
||||
td(style='padding: 20px; text-align: left; font-family: sans-serif; font-size: 12px; line-height: 20px; color: #ffffff;')
|
||||
table(role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%")
|
||||
tr
|
||||
td(valign="top") #[a(href="https://github.com/Chocobozzz/PeerTube" style="color: white !important") PeerTube © 2015-#{new Date().getFullYear()}] #[a(href="https://github.com/Chocobozzz/PeerTube/blob/master/CREDITS.md" style="color: white !important") PeerTube Contributors]
|
||||
//if mso
|
||||
//- Full Bleed Background Section : END
|
||||
//if mso | IE
|
||||
@@ -0,0 +1,11 @@
|
||||
extends base
|
||||
|
||||
block body
|
||||
if username
|
||||
p Hi #{username},
|
||||
else
|
||||
p Hi,
|
||||
block content
|
||||
p
|
||||
| Cheers,#[br]
|
||||
| #{EMAIL.BODY.SIGNATURE}
|
||||
@@ -0,0 +1,4 @@
|
||||
extends greetings
|
||||
|
||||
block content
|
||||
p !{text}
|
||||
@@ -0,0 +1,7 @@
|
||||
mixin channel(channel)
|
||||
- var handle = `${channel.name}@${channel.host}`
|
||||
| #[a(href=`${WEBSERVER.URL}/video-channels/${handle}` title=handle) #{channel.displayName}]
|
||||
|
||||
mixin account(account)
|
||||
- var handle = `${account.name}@${account.host}`
|
||||
| #[a(href=`${WEBSERVER.URL}/accounts/${handle}` title=handle) #{account.displayName}]
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Someone just used the contact form
|
||||
|
||||
block content
|
||||
p #{fromName} sent you a message via the contact form on #[a(href=WEBSERVER.URL) #{instanceName}]:
|
||||
blockquote(style='white-space: pre-wrap') #{body}
|
||||
p You can contact them at #[a(href=`mailto:${fromEmail}`) #{fromEmail}], or simply reply to this email to get in touch.
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| New follower on your channel
|
||||
|
||||
block content
|
||||
p.
|
||||
Your #{followType} #[a(href=followingUrl) #{followingName}] has a new subscriber:
|
||||
#[a(href=followerUrl) #{followerName}].
|
||||
@@ -0,0 +1,10 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Password creation for your account
|
||||
|
||||
block content
|
||||
p.
|
||||
Welcome to #[a(href=WEBSERVER.URL) #{instanceName}]. Your username is: #{username}.
|
||||
Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}]
|
||||
(this link will expire within seven days).
|
||||
@@ -0,0 +1,12 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Password reset for your account
|
||||
|
||||
block content
|
||||
p.
|
||||
A reset password procedure for your account #{username} has been requested on #[a(href=WEBSERVER.URL) #{instanceName}].
|
||||
Please follow #[a(href=resetPasswordUrl) this link] to reset it: #[a(href=resetPasswordUrl) #{resetPasswordUrl}]
|
||||
(the link will expire within 1 hour).
|
||||
p.
|
||||
If you are not the person who initiated this request, please ignore this email.
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| New PeerTube version available
|
||||
|
||||
block content
|
||||
p
|
||||
| A new version of PeerTube is available: #{latestVersion}.
|
||||
| You can check the latest news on #[a(href="https://joinpeertube.org/news") JoinPeerTube].
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| New plugin version available
|
||||
|
||||
block content
|
||||
p
|
||||
| A new version of the plugin/theme #{pluginName} is available: #{latestVersion}.
|
||||
| You might want to upgrade it on #[a(href=pluginUrl) the PeerTube admin interface].
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| Your export archive has been created
|
||||
|
||||
block content
|
||||
p
|
||||
| Your export archive has been created. You can download it in #[a(href=exportsUrl) your account export page].
|
||||
@@ -0,0 +1,12 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| Failed to create your export archive
|
||||
|
||||
block content
|
||||
p
|
||||
| We are sorry but the generation of your export archive has failed:
|
||||
blockquote !{errorMessage}
|
||||
p
|
||||
| Please contact your administrator if the problem occurs again.
|
||||
@@ -0,0 +1,55 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
mixin displaySummary(stats)
|
||||
ul
|
||||
if stats.success
|
||||
li Imported: #{stats.success}
|
||||
if stats.duplicates
|
||||
li Not imported as considered duplicate: #{stats.duplicates}
|
||||
if stats.errors
|
||||
li Not imported due to error: #{stats.errors}
|
||||
|
||||
block title
|
||||
| Your archive import has finished
|
||||
|
||||
block content
|
||||
p Your archive import has finished. Here is the summary of imported objects:
|
||||
|
||||
ul
|
||||
li
|
||||
strong User settings:
|
||||
+displaySummary(resultStats.userSettings)
|
||||
li
|
||||
strong Account (name, description, avatar...):
|
||||
+displaySummary(resultStats.account)
|
||||
li
|
||||
strong Blocklist:
|
||||
+displaySummary(resultStats.blocklist)
|
||||
li
|
||||
strong Channels:
|
||||
+displaySummary(resultStats.channels)
|
||||
li
|
||||
strong Likes:
|
||||
+displaySummary(resultStats.likes)
|
||||
li
|
||||
strong Dislikes:
|
||||
+displaySummary(resultStats.dislikes)
|
||||
li
|
||||
strong Subscriptions:
|
||||
+displaySummary(resultStats.following)
|
||||
li
|
||||
strong Video Playlists:
|
||||
+displaySummary(resultStats.videoPlaylists)
|
||||
li
|
||||
strong Videos:
|
||||
+displaySummary(resultStats.videos)
|
||||
li
|
||||
strong Video history:
|
||||
+displaySummary(resultStats.userVideoHistory)
|
||||
li
|
||||
strong Watched Words Lists:
|
||||
+displaySummary(resultStats.watchedWordsLists)
|
||||
li
|
||||
strong Comment auto tag policies:
|
||||
+displaySummary(resultStats.commentAutoTagPolicies)
|
||||
@@ -0,0 +1,12 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| Failed to import your archive
|
||||
|
||||
block content
|
||||
p
|
||||
| We are sorry but the import of your archive has failed:
|
||||
blockquote !{errorMessage}
|
||||
p
|
||||
| Please contact your administrator if the problem occurs again.
|
||||
@@ -0,0 +1,10 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| A new user registered
|
||||
|
||||
block content
|
||||
- var mail = user.email || user.pendingEmail;
|
||||
p
|
||||
| User #[a(href=`${WEBSERVER.URL}/accounts/${user.username}`) #{user.username}] just registered.
|
||||
| You might want to contact them at #[a(href=`mailto:${mail}`) #{mail}].
|
||||
@@ -0,0 +1,10 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Congratulation #{username}, your registration request has been accepted!
|
||||
|
||||
block content
|
||||
p Your registration request has been accepted.
|
||||
p Moderators sent you the following message:
|
||||
blockquote(style='white-space: pre-wrap') #{moderationResponse}
|
||||
p Your account has been created and you can login on #[a(href=loginLink) #{loginLink}]
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Registration request of your account #{username} has rejected
|
||||
|
||||
block content
|
||||
p Your registration request has been rejected.
|
||||
p Moderators sent you the following message:
|
||||
blockquote(style='white-space: pre-wrap') #{moderationResponse}
|
||||
@@ -0,0 +1,9 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| A new user wants to register
|
||||
|
||||
block content
|
||||
p User #{registration.username} wants to register on your PeerTube instance with the following reason:
|
||||
blockquote(style='white-space: pre-wrap') #{registration.registrationReason}
|
||||
p You can accept or reject the registration request in the #[a(href=`${WEBSERVER.URL}/admin/moderation/registrations/list`) administration].
|
||||
@@ -0,0 +1,19 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Email verification
|
||||
|
||||
block content
|
||||
if isRegistrationRequest
|
||||
p You just requested an account on #[a(href=WEBSERVER.URL) #{instanceName}].
|
||||
else
|
||||
p You just created an account on #[a(href=WEBSERVER.URL) #{instanceName}].
|
||||
|
||||
if isRegistrationRequest
|
||||
p To complete your registration request you must verify your email first!
|
||||
else
|
||||
p To start using your account you must verify your email first!
|
||||
|
||||
p Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you.
|
||||
p If you can't see the verification link above you can use the following link #[a(href=verifyEmailUrl) #{verifyEmailUrl}]
|
||||
p If you are not the person who initiated this request, please ignore this email.
|
||||
@@ -0,0 +1,18 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| A video is pending moderation
|
||||
|
||||
block content
|
||||
p
|
||||
| #[a(href=WEBSERVER.URL) #{instanceName}] received an abuse report for the #{isLocal ? '' : 'remote '}video "
|
||||
a(href=videoUrl) #{videoName}
|
||||
| " by #[+channel(videoChannel)]
|
||||
if videoPublishedAt
|
||||
| , published the #{videoPublishedAt}.
|
||||
else
|
||||
| , uploaded the #{videoCreatedAt} but not yet published.
|
||||
p The reporter, #{reporter}, cited the following reason(s):
|
||||
blockquote #{reason}
|
||||
br(style="display: none;")
|
||||
@@ -0,0 +1,17 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins
|
||||
|
||||
block title
|
||||
| A video is pending moderation
|
||||
|
||||
block content
|
||||
p
|
||||
| A recently added video was auto-blacklisted and requires moderator review before going public:
|
||||
|
|
||||
a(href=videoUrl) #{videoName}
|
||||
|
|
||||
| by #[+channel(channel)].
|
||||
p.
|
||||
Apart from the publisher and the moderation team, no one will be able to see the video until you
|
||||
unblacklist it. If you trust the publisher, any admin can whitelist the user for later videos so
|
||||
that they don't require approval before going public.
|
||||
@@ -0,0 +1,16 @@
|
||||
extends ../common/greetings
|
||||
include ../common/mixins.pug
|
||||
|
||||
block title
|
||||
| A comment is pending moderation
|
||||
|
||||
block content
|
||||
p
|
||||
| #[a(href=WEBSERVER.URL) #{instanceName}] received an abuse report for the #{isLocal ? '' : 'remote '}
|
||||
a(href=commentUrl) comment on video "#{videoName}"
|
||||
| of #{flaggedAccount}
|
||||
| created on #{commentCreatedAt}
|
||||
|
||||
p The reporter, #{reporter}, cited the following reason(s):
|
||||
blockquote #{reason}
|
||||
br(style="display: none;")
|
||||
@@ -0,0 +1,11 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Someone mentioned you
|
||||
|
||||
block content
|
||||
p.
|
||||
#[a(href=accountUrl title=handle) #{accountName}] mentioned you in a comment on video
|
||||
"#[a(href=videoUrl) #{video.name}]":
|
||||
blockquote !{commentHtml}
|
||||
br(style="display: none;")
|
||||
@@ -0,0 +1,16 @@
|
||||
extends ../common/greetings
|
||||
|
||||
block title
|
||||
| Someone commented your video
|
||||
|
||||
block content
|
||||
p.
|
||||
#[a(href=accountUrl title=handle) #{accountName}] added a comment on your video
|
||||
"#[a(href=videoUrl) #{video.name}]":
|
||||
|
||||
blockquote !{commentHtml}
|
||||
|
||||
if requiresApproval
|
||||
| This comment requires approval.
|
||||
|
||||
br(style="display: none;")
|
||||
新しい課題から参照
ユーザをブロックする