Skip to content

Commit

Permalink
Merge pull request #887 from wvhn/wvhn-patch-1
Browse files Browse the repository at this point in the history
smartvisu plugin: remove obsolete widget imports from templates
  • Loading branch information
aschwith authored Dec 30, 2023
2 parents 8b7e757 + dfbea98 commit 97b8f0c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 1 addition & 18 deletions smartvisu/tplNG/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,9 @@

{% block sidebar %}

{% import "lib.html" as lib %}
{{ lib.updatecheck() }}

{% import "clock.html" as clock %}
{{ clock.digiclock('clock') }}

<div class="center">
{{ now|smartdate('l') }}, {{ now|smartdate() }}
</div>

<hr>

{% import "weather.html" as weather %}
{{ weather.current('weather') }}

<hr>

{{ weather.forecastweek('weather_forecast') }}

<hr>
{% include 'infoblock.html' %}

{% endblock %}

Expand Down
2 changes: 0 additions & 2 deletions smartvisu/tplNG/infoblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
* -----------------------------------------------------------------------------
*/

{% import "clock.html" as clock %}
{{ clock.digiclock('clock') }}

<div class="center">
{{ clock.miniclock('', 'l, ' ~ lang('format','date') ) }}
</div>

<hr>
{% import "weather.html" as weather %}
{{ weather.current('weather') }}

<hr>
Expand Down

0 comments on commit 97b8f0c

Please sign in to comment.