forked from DebaucheryLibrarian/traxxx
Appending movie title if scene title only contains 'scene x'
This commit is contained in:
parent
7bd858f96b
commit
7bfca9596d
|
@ -39,7 +39,10 @@
|
|||
<h2
|
||||
v-if="release.title"
|
||||
class="title"
|
||||
>{{ release.title }}</h2>
|
||||
>
|
||||
{{ release.title }}
|
||||
<template v-if="release.movies?.[0]?.title && /^scene \d+$/i.test(release.title)"><span class="title-composed"> from </span>{{ release.movies[0].title }}</template>
|
||||
</h2>
|
||||
|
||||
<h2
|
||||
v-else-if="release.actors.length > 0"
|
||||
|
|
|
@ -78,7 +78,9 @@
|
|||
v-tooltip.bottom="release.title"
|
||||
:title="release.title"
|
||||
class="title"
|
||||
>{{ release.title }}</h3>
|
||||
>
|
||||
{{ release.title }}<template v-if="release.movies?.[0]?.title && /^scene \d+$/i.test(release.title)"><span class="title-composed"> from </span>{{ release.movies[0].title }}</template>
|
||||
</h3>
|
||||
|
||||
<h3
|
||||
v-else-if="release.actors.length > 0"
|
||||
|
|
|
@ -362,6 +362,13 @@ const releaseFields = `
|
|||
slug
|
||||
url
|
||||
}
|
||||
movies: moviesScenesBySceneId {
|
||||
movie {
|
||||
id
|
||||
title
|
||||
slug
|
||||
}
|
||||
}
|
||||
isNew
|
||||
isFavorited
|
||||
isStashed(includeFavorites: false)
|
||||
|
|
|
@ -91,6 +91,8 @@ module.exports = {
|
|||
networks: [
|
||||
// dummy network for testing
|
||||
'traxxx',
|
||||
// porn doe
|
||||
'forbondage',
|
||||
],
|
||||
},
|
||||
profiles: [
|
||||
|
|
Loading…
Reference in New Issue