Change person cards to not display "eps" when number of eps is unknown

This commit is contained in:
JackDandy 2024-06-26 23:59:43 +01:00
parent d5c0fa3c07
commit 13763cab4b
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 3.32.3 (2024-06-26 18:10:00 UTC) ### 3.32.4 (2024-06-2x xx:xx:00 UTC)
* Change person cards to not display "eps" when number of eps is unknown
### 3.32.3 (2024-06-26 18:10:00 UTC)
* Fix votes on shows/IMDb cards * Fix votes on shows/IMDb cards
* Fix ratings on shows/TMDB cards * Fix ratings on shows/TMDB cards

View file

@ -595,7 +595,7 @@ $(function() {
#if $this_show.get('p_chars') #if $this_show.get('p_chars')
<p style='overflow-y:auto;max-height:152px'> <p style='overflow-y:auto;max-height:152px'>
#for $char in $this_show['p_chars'] #for $char in $this_show['p_chars']
<span style='display:block;clear:both;font-weight:bold;font-size:0.9em;color:#393'>as $char[0]#if $RoleTypes.ActorMain != $char[1]# ($char[2]/$char[3] eps)#end if#</span> <span style='display:block;clear:both;font-weight:bold;font-size:0.9em;color:#393'>as $char[0]#if $RoleTypes.ActorMain != $char[1]# ($char[2]#if $char[3]#/$char[3] eps#end if#)#end if#</span>
#end for #end for
</p> </p>
#end if #end if