Fix LIL-559

remotes/origin/hotfix/LIL-661
gzbender 8 years ago
parent 470d7252eb
commit 7fd5865d3a
  1. 2
      project/templates/lilcity/index.html

@ -137,7 +137,7 @@
defaultUserPhoto: "{% static 'img/user_default.jpg' %}",
user: {
id: '{{ request.user.id }}',
photo: '{{ request.user.photo.url }}',
photo: '{% if request.user.photo %}{{ request.user.photo.url }}{% else %}{% static 'img/user_default.jpg' %}{% endif %}',
}
};
</script>

Loading…
Cancel
Save