Skip to content

Commit

Permalink
Fixing issue in webclient config template.
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinius committed Dec 3, 2014
1 parent 7165d57 commit c6a7f71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion eoxserver/webclient/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ class Extra(models.Model):
info = models.TextField(blank=True, null=True)
color = models.CharField(max_length=64, blank=True, null=True)
default_visible = models.BooleanField(default=False)

2 changes: 1 addition & 1 deletion eoxserver/webclient/templates/webclient/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"visible": {% if layer.webclient_extra.default_visible %}true{% else %}false{% endif %},
"timeSlider": true,
"timeSliderProtocol":"WPS",
"color":"{{ layer.webclient_extra.color }}",
{% if layer.webclient_extra.color %}"color": "{{ layer.webclient_extra.color }}",{% endif %}
"view": {
"id": "{{ layer.identifier }}",
"protocol": "WMS",
Expand Down

0 comments on commit c6a7f71

Please sign in to comment.