diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-12-28 01:41:14 +0300 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-12-28 01:41:14 +0300 |
commit | bbffcebb6c0491ad15c9c57fe1bcbf8f54ed1c60 (patch) | |
tree | f97082729eda33f78e776e844b0ba75bd30a0a44 /templates | |
parent | 16c09a619e340101277844f199dc2f5affd73b62 (diff) |
fix url when using different apps folder
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/main.php b/templates/main.php index d497495..3ba713c 100644 --- a/templates/main.php +++ b/templates/main.php @@ -48,12 +48,12 @@ <a href="http://home.openweathermap.org/users/sign_in" ng-show="cityLoadNeedsAPIKey == true">Click here to get an API key</a> </span> </div> - <div id="city-right" ng-show="cityLoadError == '' && currentCity != null" style="background-image: url('{{ owncloudAppImgPath }}/img/{{ currentCity.image }}');"> + <div id="city-right" ng-show="cityLoadError == '' && currentCity != null" style="background-image: url('{{ owncloudAppImgPath }}{{ currentCity.image }}');"> <div id="city-weather-panel"> <div class="city-name"> {{ currentCity.name }}, {{ currentCity.sys.country }} - <img ng-show="selectedCityId == homeCity" src="{{ owncloudAppImgPath }}/img/home-pick.png" /> - <img class="home-icon" ng-click="setHome(selectedCityId);" ng-show="selectedCityId != homeCity" src="{{ owncloudAppImgPath }}/img/home-nopick.png" /> + <img ng-show="selectedCityId == homeCity" src="{{ owncloudAppImgPath }}home-pick.png" /> + <img class="home-icon" ng-click="setHome(selectedCityId);" ng-show="selectedCityId != homeCity" src="{{ owncloudAppImgPath }}home-nopick.png" /> </div> <div class="city-current-temp">{{ currentCity.main.temp }}{{ metricRepresentation }}</div> <div class="city-current-pressure">Pressure: {{ currentCity.main.pressure }} hpa</div> |