Skip to content

Commit

Permalink
Don't require an icon to view current conditions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 13, 2016
1 parent 5840f23 commit e877d76
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions horde/templates/block/weather_content.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@

<!-- Current conditions -->
<br /><strong><?php echo _("Current condition")?>: </strong>
<?php if ($this->current->icon):?>
<?php echo Horde_Themes_Image::tag('weather/32x32/' . $this->current->icon) . ' ' . $this->current->condition?>
<?php endif;?>
<?php if ($this->current->icon): echo Horde_Themes_Image::tag('weather/32x32/' . $this->current->icon); endif;?>
<?php if ($this->current->condition): echo $this->current->condition; endif;?>
</div>

<!-- Forecast -->
Expand Down

0 comments on commit e877d76

Please sign in to comment.