diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-07-18 10:46:06 +0300 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-07-18 10:46:06 +0300 |
commit | c3b095e677c8e84de3f4b10717d0a32d8e4ad537 (patch) | |
tree | cf51202115125402b3fbac66224bf7c393ead1a0 /templates | |
parent | 05b9cc817a16f6bd5ed72e6425cc348b5f63b59e (diff) |
Fix image path for non root owncloud instances
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/main.php b/templates/main.php index fce01a7..1889cb7 100644 --- a/templates/main.php +++ b/templates/main.php @@ -30,7 +30,7 @@ <div id="city-right" ng-show="cityLoadError != ''"> <span class="city-load-error">{{ cityLoadError }}</span> </div> - <div id="city-right" ng-show="currentCity != null" style="background-image: url('/apps/weather/img/{{ currentCity.image }}');"> + <div id="city-right" ng-show="currentCity != null" style="background-image: url('{{ owncloudAppImgPath }}/img/{{ currentCity.image }}');"> <div id="city-weather-panel"> <div class="city-name">{{ currentCity.name }}, {{ currentCity.sys.country }}</div> <div class="city-current-temp">{{ currentCity.main.temp }}°C</div> |