Skip to content

Commit

Permalink
Remove elliptic annotations from HD Views
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Aug 31, 2023
1 parent aa007e1 commit d4ca0be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ CHANGELOG
- Filter by begin date by default on touristic events in APIv2 (#3597)
- Add model LinePictogram for each line (#3327)
- Create Organizer model for touristic events, configurable in admin site (#3625)
- Remove elliptic annotations from HD Views (they cannot be displayed on Leaflet)

**Documentation**

Expand Down
2 changes: 1 addition & 1 deletion geotrek/common/static/common/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fieldset {
}

.form-panel#annotations {
flex-basis: 70%;
flex-basis: 55%;
}

.loader-wrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div>
<div id="controls">
<div class="form-group annotationtype" title="Select the type of annotation to add.">
<button class="lastused" id="rectangle" next="square">{% trans "Rectangle" %}</button><button id="square" next="ellipse">{% trans "Square" %}</button><button id="ellipse" next="circle">{% trans "Ellipse" %}</button><button id="circle" next="polygon">{% trans "Circle" %}</button><button id="polygon" next="point">{% trans "Polygon" %}</button><button id="point" next="line">{% trans "Point" %}</button><button id="line" next="rectangle">{% trans "Line" %}</button>
<button class="lastused" id="rectangle" next="square">{% trans "Rectangle" %}</button><button id="square" next="circle">{% trans "Square" %}</button><button id="circle" next="polygon">{% trans "Circle" %}</button><button id="polygon" next="point">{% trans "Polygon" %}</button><button id="point" next="line">{% trans "Point" %}</button><button id="line" next="rectangle">{% trans "Line" %}</button>
</div>
{% comment %} <div class="form-group" title="If disabled, hide all annotation labels."><label for="showLabels">Show annotation labels</label><input id="showLabels" param-name="labels" type="checkbox" placeholder="true"/></div> {% endcomment %}
<div class="form-group" id="annotationheader">
Expand Down

0 comments on commit d4ca0be

Please sign in to comment.