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

[#1763] Change texts and table for profile page #790

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

jiromaykin
Copy link
Contributor

@jiromaykin jiromaykin commented Sep 26, 2023

issue connected to feedback about texts from Leeuwarden: https://taiga.maykinmedia.nl/project/open-inwoner/task/1763
Making topics in Profile into a link.
When adding new texts: make them English by default.

More new design is coming up in new issue.
Note to myself for translations:
interessegebieden wordt 'mijn onderwerpen'; Communicatievoorkeuren wordt 'ontvang berichten over'/Receive notifications for

@jiromaykin jiromaykin force-pushed the fix/1763-change-profile-page-after-feedback branch 2 times, most recently from 3010522 to 1a42694 Compare September 28, 2023 14:57
@jiromaykin jiromaykin changed the title [#1763] Change texts and buttons for profile page [#1763] Change texts and table for profile page Sep 28, 2023
@jiromaykin jiromaykin force-pushed the fix/1763-change-profile-page-after-feedback branch 3 times, most recently from d6d7373 to 8b030a6 Compare October 2, 2023 10:51
@jiromaykin jiromaykin marked this pull request as ready for review October 2, 2023 10:51
@codecov-commenter
Copy link

codecov-commenter commented Oct 2, 2023

Codecov Report

Merging #790 (65634bd) into develop (f184f94) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #790      +/-   ##
===========================================
- Coverage    93.17%   93.16%   -0.01%     
===========================================
  Files          721      722       +1     
  Lines        25027    25020       -7     
===========================================
- Hits         23318    23311       -7     
  Misses        1709     1709              
Files Coverage Δ
src/open_inwoner/accounts/models.py 97.13% <100.00%> (ø)
.../open_inwoner/accounts/tests/test_profile_views.py 100.00% <100.00%> (ø)
src/open_inwoner/accounts/views/profile.py 100.00% <ø> (ø)
src/open_inwoner/cms/profile/cms_appconfig.py 100.00% <ø> (ø)
...woner/cms/profile/migrations/0004_profile_texts.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jiromaykin jiromaykin force-pushed the fix/1763-change-profile-page-after-feedback branch from 19d1104 to e961641 Compare October 2, 2023 13:21
@jiromaykin jiromaykin force-pushed the fix/1763-change-profile-page-after-feedback branch from 32d1ab1 to 65634bd Compare October 2, 2023 13:49
@alextreme alextreme self-requested a review October 3, 2023 09:04
{% url 'profile:contact_list' as mentor_url %}
{% link href=mentor_url|add:"?type=begeleider" text=_('My mentor(s)') %}
{% else %}
{% trans "Begeleider(s)" %}
Copy link
Member

Choose a reason for hiding this comment

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

'My mentor(s)' for both?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do.

<div class="tabled__item">{{request.user.get_full_name}}{% if request.user.get_address %}, {{ request.user.get_address }}{% endif %}</div>
<div class="tabled__item tabled__item--force-right tabled__item--mobile-big">{% link href="profile:data" text="Bekijken" icon="arrow_forward" icon_position="after" primary=True %}</div>
</div>
{% endif %}

{% if view.config.selected_categories %}
<div class="tabled__row">
<div class="tabled__item tabled__item--bold">{% trans "Interessegebieden" %}</div>
<div class="tabled__item tabled__item--bold">{% link href="profile:categories" text=_('My categories') %}</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Why English? Most of the texts in this template are in Dutch.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking: if I have to change some text per request from one of the municipalities, or add completely new text, the default should be in English - this could be a gradual way to change all code-text into English. I can update this me.html template to be completely English.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good to know. Feel free to get started with this, but no pressure.

@alextreme alextreme merged commit 138c673 into develop Oct 3, 2023
14 checks passed
@alextreme alextreme deleted the fix/1763-change-profile-page-after-feedback branch October 3, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants