Skip to content

Commit

Permalink
Fix contact cards details editing
Browse files Browse the repository at this point in the history
  • Loading branch information
charludo committed Jan 29, 2025
1 parent 102b45f commit 5e6e7ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integreat_cms/cms/templates/_tinymce_config.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
data-group-icon-alt="{% translate "A group of people" %}"
data-contact-dialog-search-text='{% translate "Search for contact" %}'
data-contact-dialog-title-text='{% translate "Add Contact" %}'
data-contact-change-text='{% translate "Change Contact" %}'
data-contact-change-text='{% translate "Change Contact or Details" %}'
data-contact-remove-text='{% translate "Remove Contact" %}'
data-contact-icon-text='{% translate "Contact Person" %}'
data-contact-icon-src="{% get_base_url %}{% static 'svg/contact.svg' %}"
Expand Down
2 changes: 1 addition & 1 deletion integreat_cms/cms/views/utils/contact_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def get_contact_raw(
return JsonResponse(
{
"data": {
"url": contact.full_url,
"url": contact.absolute_url,
"name": contact.get_repr_short,
"details": contact.available_details,
}
Expand Down
4 changes: 2 additions & 2 deletions integreat_cms/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -4890,8 +4890,8 @@ msgid "Add Contact"
msgstr "Kontakt hinzufügen"

#: cms/templates/_tinymce_config.html
msgid "Change Contact"
msgstr "Kontakt ändern"
msgid "Change Contact or Details"
msgstr "Kontakt oder Details ändern"

#: cms/templates/_tinymce_config.html
msgid "Remove Contact"
Expand Down

0 comments on commit 5e6e7ad

Please sign in to comment.