-
Notifications
You must be signed in to change notification settings - Fork 21
Add configurable popups on markers #339
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
55758cd
fix tests
PartyNell 1cd22f4
create a popup with configurable arguments for markers
PartyNell 6bf1129
use HTML template for popup API
PartyNell b883743
add tests
PartyNell 5dc18f8
add documentation about popups
PartyNell 7938098
add changelog entry
PartyNell 6e275dd
fix quality
PartyNell f08257f
change popup's title with str(obj)
PartyNell 15ed7ab
change traduction
PartyNell c93bfc0
improve text formatting in popup content api
PartyNell 944d0bb
adapt tests
PartyNell a896858
adapt documentation
PartyNell a7c624e
add parameter to display popup or not
PartyNell 305d89f
add changelog entry
PartyNell 891475b
Merge branch 'fix_test_content_type' into make_labels_configurable
PartyNell fe4ecaa
change LABEL_PER_MODEL setting name
PartyNell a260c54
Update mapentity/templates/mapentity/mapentity_popup_content.html
PartyNell 6b6a97b
remove spaces in the popup
PartyNell 4c9e6ed
fix tests
PartyNell 4fe047b
Merge branch 'master' into make_labels_configurable
PartyNell 2a7ff09
add get_popup_url in the model
PartyNell 391c65b
fix quality
PartyNell 82acecb
Merge branch 'master' into make_labels_configurable
PartyNell a3bd64b
apply suggestions
PartyNell 92dbc2f
modify magin and padding of popup
PartyNell 62c9c22
add traduction of field name for boolean fields in popup
PartyNell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ msgid "" | |
| msgstr "" | ||
| "Project-Id-Version: PACKAGE VERSION\n" | ||
| "Report-Msgid-Bugs-To: \n" | ||
| "POT-Creation-Date: 2025-09-02 15:19+0000\n" | ||
| "POT-Creation-Date: 2025-10-24 13:31+0000\n" | ||
| "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
| "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
| "Language-Team: LANGUAGE <[email protected]>\n" | ||
|
|
@@ -18,5 +18,8 @@ msgstr "" | |
| "Content-Transfer-Encoding: 8bit\n" | ||
| "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
|
||
| msgid "Data unreachable" | ||
| msgstr "" | ||
|
|
||
| msgid "Locate me" | ||
| msgstr "" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <div class="d-flex flex-column justify-content-center"> | ||
| <p class="text-center m-0 p-2"><strong>{{ title }}</strong></p> | ||
| {% if attributes %} | ||
| <p> | ||
| {% for field in attributes %}{{ field }}<br>{% endfor %} | ||
| </p> | ||
| {% endif %} | ||
| <button id="detail-btn" class="btn btn-sm btn-info" onclick="window.location.href='{{ detail_url }}'">{{ button_label }}</button> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.