Skip to content

Commit

Permalink
Merge pull request #1512 from wedebe/info-owif-version-placement
Browse files Browse the repository at this point in the history
Move package version details into `About OpenWebif` page (#1509)
  • Loading branch information
jbleyel committed Jun 4, 2022
2 parents 53a3125 + 6ced8c5 commit b4b1632
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
16 changes: 16 additions & 0 deletions plugin/controllers/views/responsive/ajax/about.tmpl
@@ -1,3 +1,4 @@
#from Plugins.Extensions.OpenWebif.controllers.defaults import OPENWEBIFVER, OPENWEBIFPACKAGEVERSION
#from Plugins.Extensions.OpenWebif.controllers.i18n import tstrings

<div class="col-xs-12">
Expand Down Expand Up @@ -83,6 +84,21 @@
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-xs-12">
<div class="card">
<div class="header bg--skinned">
<h2><i class="material-icons material-icons-centered">troubleshoot</i>$tstrings['version']</h2>
</div>
<div class="body">
<div class="row clearfix" style="text-align: center;">
<p>$OPENWEBIFVER</p>
<p>$tstrings['build']: $OPENWEBIFPACKAGEVERSION</p>
</div>
</div>
</div>
</div>
</div>
<div class="row clearfix">
<div class="col-xs-12">
<div class="card">
Expand Down
12 changes: 1 addition & 11 deletions plugin/controllers/views/responsive/main.tmpl
@@ -1,6 +1,6 @@
#from Plugins.Extensions.OpenWebif.controllers.i18n import tstrings
#from Plugins.Extensions.OpenWebif.vtiaddon import skinColor, themeMode, EPGSearchBQonly, EPGSearchFull, ScreenshotOnRCU, MinMovieList, MinTimerList, MinEPGList, MovieSearchExtended, MovieSearchShort, RemoteControlView, showPicons, showPiconBackground, ZapStream, showIPTVChannelsInSelection, useSreenshotChannelName, useNowNextColumns
#from Plugins.Extensions.OpenWebif.controllers.defaults import OPENWEBIFVER, OPENWEBIFPACKAGEVERSION, USERCSSRESPONSIVE
#from Plugins.Extensions.OpenWebif.controllers.defaults import USERCSSRESPONSIVE
#from json import dumps

#set $skinPrefOptions = [
Expand Down Expand Up @@ -396,16 +396,6 @@
<a href="#boxinfo" data-close="true" accesskey="i" title="Shortcut: i">$tstrings['receiver']</a>
</li>
<li><a href="#about">OpenWebif</a></li>
<!--
#if $debugModeEnabled
-->
<li class="disabled" style="user-select: all;"><!-- these `disabled` classes will prevent the `Waves` plugin interfering with text selection -->
<a href="javascript:void(0);" class="disabled" style="user-select: all;">$tstrings['version']: $OPENWEBIFVER</a>
<a href="javascript:void(0);" class="disabled" style="user-select: all;">$tstrings['build']: $OPENWEBIFPACKAGEVERSION</a>
</li>
<!--
#end if
-->
</ul>
</li>
<li>
Expand Down

0 comments on commit b4b1632

Please sign in to comment.