Revise third-party content warning
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<blockquote class="callout caution" role="alert">
|
||||
<strong>{{ T "caution" | safeHTML }}</strong>
|
||||
{{- $single := .Get "single" | default "false" -}}
|
||||
<div class="alert alert-secondary callout third-party-content" role="alert">
|
||||
{{- if not (eq $single "true" ) -}}
|
||||
<strong>{{ T "note" | safeHTML }}</strong>
|
||||
{{ T "thirdparty_message" | safeHTML }}
|
||||
</blockquote>
|
||||
{{- else -}}
|
||||
{{ T "thirdparty_message_single_item" | safeHTML }}
|
||||
{{- end -}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user