Skip to content

Commit

Permalink
UX - Add note about popup must be activated in the atlas form fix #505
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Jul 3, 2023
1 parent 8f911ae commit 5b88a78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lizmap/definitions/atlas.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ def __init__(self):
}
self._layer_config['displayPopup'] = {
'type': InputType.CheckBox,
'header': tr('Display popup'),
'header': tr('Display popup (if activated)'),
'default': False,
'tooltip': tr('You can choose to display the popup in the feature in the atlas container or not.')
'tooltip': tr(
'You can choose to display the popup in the feature in the atlas container or not.'
) + '<br>' + tr('The popup <b>must be</b> activated on the current layer by yourself.')
}
self._layer_config['triggerFilter'] = {
'type': InputType.CheckBox,
Expand Down
2 changes: 1 addition & 1 deletion lizmap/resources/ui/ui_form_atlas.ui
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<item row="7" column="0">
<widget class="QLabel" name="label_popup">
<property name="text">
<string>Display popup</string>
<string>Display popup (if activated)</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit 5b88a78

Please sign in to comment.