Private GIT
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SickRage-1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vlbox
SickRage-1
Commits
74c923d5
Commit
74c923d5
authored
Jul 26, 2015
by
miigotu
Browse files
Options
Downloads
Plain Diff
Merge pull request #2200 from MGaetan89/issue/2337
Fix for SiCKRAGETV/sickrage-issues#2337
parents
0f066109
7c12409d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gui/slick/interfaces/default/displayShow.tmpl
+29
-19
29 additions, 19 deletions
gui/slick/interfaces/default/displayShow.tmpl
with
29 additions
and
19 deletions
gui/slick/interfaces/default/displayShow.tmpl
+
29
−
19
View file @
74c923d5
...
...
@@ -344,7 +344,6 @@
<table #if not $show.is_anime then "id=\"showTable\"" else "id=\"animeTable\""# class="displayShowTable display_show" cellspacing="0" border="0" cellpadding="0">
#set $curSeason = -1
#set $seasonCount = 0
#set $odd = 0
#for $epResult in $sqlResults:
#set $epStr = str($epResult["season"]) + "x" + str($epResult["episode"])
...
...
@@ -409,9 +408,24 @@
</tr>
</thead>
<tbody class="tablesorter-no-sort">
<tr>
<th class="row-seasonheader displayShowTable" colspan="13" style="width: auto;">
<h3><a name="season-$epResult["season"]"></a>#if int($epResult["season"]) == 0 then "Specials" else "Season " + str($epResult["season"])#</h3>
<tr style="height: 60px;">
<th class="row-seasonheader displayShowTable" colspan="13" style="vertical-align: bottom; width: auto;">
<h3 style="display: inline;"><a name="season-$epResult["season"]"></a>#if int($epResult["season"]) == 0 then "Specials" else "Season " + str($epResult["season"])#</h3>
#if $sickbeard.DISPLAY_ALL_SEASONS == False:
<button id="showseason-$epResult['season']" type="button" class="btn btn-xs pull-right" data-toggle="collapse" data-target="#collapseSeason-$epResult['season']">Show Episodes</button>
<script type="text/javascript">
<!--
\$(function() {
\$('#collapseSeason-$epResult['season']').on('hide.bs.collapse', function () {
\$('#showseason-$epResult['season']').text('Show Episodes');
})
\$('#collapseSeason-$epResult['season']').on('show.bs.collapse', function () {
\$('#showseason-$epResult['season']').text('Hide Episodes');
})
});
//-->
</script>
#end if
</th>
</tr>
</tbody>
...
...
@@ -436,27 +450,24 @@
#else:
</tbody>
<tbody class="tablesorter-no-sort">
<tr>
<th class="row-seasonheader displayShowTable" colspan="13" style="width: auto;">
<div class="pull-left"> <h3><a name="season-$epResult["season"]"></a>#if int($epResult["season"]) == 0 then "Specials" else "Season " + str($epResult["season"])#</h3></div>
#if $sickbeard.DISPLAY_ALL_SEASONS == False and $seasonCount >= 1:
<div class="pull-right">
<button id="showseason-$epResult['season']" type="button" class="btn btn-xs pull-right" data-toggle="collapse" data-target="#collapseSeason-$epResult['season']"><span class="sgicon-arrowdown"></span> Show Episodes</button>
<tr style="height: 60px;">
<th class="row-seasonheader displayShowTable" colspan="13" style="vertical-align: bottom; width: auto;">
<h3 style="display: inline;"><a name="season-$epResult["season"]"></a>#if int($epResult["season"]) == 0 then "Specials" else "Season " + str($epResult["season"])#</h3>
#if $sickbeard.DISPLAY_ALL_SEASONS == False:
<button id="showseason-$epResult['season']" type="button" class="btn btn-xs pull-right" data-toggle="collapse" data-target="#collapseSeason-$epResult['season']">Show Episodes</button>
<script type="text/javascript">
<!--
\$(function() {
\$('#collapseSeason-$epResult['season']').on('hide.bs.collapse', function () {
\$('#showseason-$epResult['season']').
html('<span class="sgicon-arrowdown"></span>
Show Episodes');
\$('#showseason-$epResult['season']').
text('
Show Episodes');
})
\$('#collapseSeason-$epResult['season']').on('show.bs.collapse', function () {
\$('#showseason-$epResult['season']').
html('<span class="sgicon-arrowup"></span>
Hide Episodes');
\$('#showseason-$epResult['season']').
text('
Hide Episodes');
})
});
//-->
</script>
</div>
#end if
</th>
</tr>
</tbody>
...
...
@@ -480,9 +491,8 @@
</tr>
#end if
</tbody>
#set $seasonCount = $seasonCount + 1
#if $sickbeard.DISPLAY_ALL_SEASONS == False and $seasonCount >= 2:
<tbody class="collapse" id="collapseSeason-$epResult['season']">
#if $sickbeard.DISPLAY_ALL_SEASONS == False:
<tbody class="collapse#if $curSeason == -1 then ' in' else ''#" id="collapseSeason-$epResult['season']">
#else
<tbody>
#end if
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment