A book trailer is not titled 'reacts'
This commit is contained in:
parent
b7e49db360
commit
4ed4319a0a
1 changed files with 3 additions and 1 deletions
|
|
@ -94,7 +94,9 @@ function card(p) {
|
||||||
+ '<div>' + media + '</div>'
|
+ '<div>' + media + '</div>'
|
||||||
+ '<div>'
|
+ '<div>'
|
||||||
+ '<span class="badge ' + st[0] + '">' + esc(st[1]) + '</span>'
|
+ '<span class="badge ' + st[0] + '">' + esc(st[1]) + '</span>'
|
||||||
+ '<h3>' + esc(p.pet_name || "Your pet") + ' reacts</h3>'
|
+ '<h3>' + (p.kind === "trailer" || p.format === "trailer"
|
||||||
|
? esc(p.pet_name || "Book trailer") + ' — the trailer'
|
||||||
|
: esc(p.pet_name || "Your pet") + ' reacts') + '</h3>'
|
||||||
+ '<p class="meta">' + (p.source_url ? '<a href="' + esc(p.source_url) + '" rel="noopener noreferrer nofollow" target="_blank">' + esc(p.source_url) + '</a>' : "") + '</p>'
|
+ '<p class="meta">' + (p.source_url ? '<a href="' + esc(p.source_url) + '" rel="noopener noreferrer nofollow" target="_blank">' + esc(p.source_url) + '</a>' : "") + '</p>'
|
||||||
+ '<p class="meta">' + esc(p.owner_notes || "") + '</p>'
|
+ '<p class="meta">' + esc(p.owner_notes || "") + '</p>'
|
||||||
// Submitted and filmed are different dates and a re-film only moves the
|
// Submitted and filmed are different dates and a re-film only moves the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue