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
|
<h2
|
||||||
v-if="release.title"
|
v-if="release.title"
|
||||||
class="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
|
<h2
|
||||||
v-else-if="release.actors.length > 0"
|
v-else-if="release.actors.length > 0"
|
||||||
|
|
|
@ -78,7 +78,9 @@
|
||||||
v-tooltip.bottom="release.title"
|
v-tooltip.bottom="release.title"
|
||||||
:title="release.title"
|
:title="release.title"
|
||||||
class="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
|
<h3
|
||||||
v-else-if="release.actors.length > 0"
|
v-else-if="release.actors.length > 0"
|
||||||
|
|
|
@ -362,6 +362,13 @@ const releaseFields = `
|
||||||
slug
|
slug
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
|
movies: moviesScenesBySceneId {
|
||||||
|
movie {
|
||||||
|
id
|
||||||
|
title
|
||||||
|
slug
|
||||||
|
}
|
||||||
|
}
|
||||||
isNew
|
isNew
|
||||||
isFavorited
|
isFavorited
|
||||||
isStashed(includeFavorites: false)
|
isStashed(includeFavorites: false)
|
||||||
|
|
|
@ -91,6 +91,8 @@ module.exports = {
|
||||||
networks: [
|
networks: [
|
||||||
// dummy network for testing
|
// dummy network for testing
|
||||||
'traxxx',
|
'traxxx',
|
||||||
|
// porn doe
|
||||||
|
'forbondage',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
profiles: [
|
profiles: [
|
||||||
|
|
Loading…
Reference in New Issue