Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use map image from admin site customization images #3472

Merged
merged 1 commit into from
May 7, 2019

Conversation

decabeza
Copy link
Collaborator

@decabeza decabeza commented May 7, 2019

References

This closes #3374.

Objectives

Admin users can change map image on /admin/site_customization/images.

This custom image is not rendering in all pages with the map. With this PR we always render custom map image from admin site customization images if it's present.

@decabeza decabeza self-assigned this May 7, 2019
@decabeza decabeza mentioned this pull request May 7, 2019
@decabeza decabeza merged commit a1d6885 into master May 7, 2019
@decabeza decabeza deleted the map-image branch May 7, 2019 14:24
@decabeza decabeza added this to Release 1.0.0 in Roadmap May 7, 2019
@@ -2,5 +2,5 @@
<h2 class="sidebar-title"><%= t("shared.tags_cloud.districts") %></h2>
<br>
<%= link_to map_proposals_path, id: "map", title: t("shared.tags_cloud.districts_list") do %>
<%= image_tag("map.jpg", alt: t("shared.tags_cloud.districts_list")) %>
<%= image_tag(image_path_for("map.jpg", alt: t("shared.tags_cloud.districts_list")) %>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe there is one bracket missing from this statement.

milovanderlinden added a commit to codefornl/consul that referenced this pull request May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

City map bug
4 participants