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

Update Network types locales + add help text on form #10

Merged

Conversation

B-Rass
Copy link

@B-Rass B-Rass commented Oct 16, 2024

No description provided.

@B-Rass B-Rass added the enhancement New feature or request label Oct 16, 2024
@B-Rass B-Rass self-assigned this Oct 16, 2024
@nicolas-brousse
Copy link
Member

@B-Rass did you missed something here? I can't really review this, at least now.

@B-Rass
Copy link
Author

B-Rass commented Oct 18, 2024

@B-Rass did you missed something here? I can't really review this, at least now.

apparently ... ^^'

@B-Rass B-Rass force-pushed the 344410-update-network-types-locales branch from 816d8ee to e117137 Compare October 22, 2024 16:01
@B-Rass
Copy link
Author

B-Rass commented Oct 22, 2024

@B-Rass did you missed something here? I can't really review this, at least now.

@B-Rass did you missed something here? I can't really review this, at least now.

apparently ... ^^'

@nicolas-brousse fixed

@B-Rass B-Rass force-pushed the 344410-update-network-types-locales branch from e117137 to ceea4e8 Compare October 24, 2024 16:00
Comment on lines 21 to 25
<% if network_types = @modele.network_types.presence %>
<%= network_types.map { |type| Modele.human_attribute_name("network_types.#{type}") }.join(", ") %>
<% else %>
<%= Modele.human_attribute_name("network_types.blank") %>
<% end %>
Copy link
Member

Choose a reason for hiding this comment

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

Could be done in a decorator helper?

Comment on lines 203 to 207
<% if network_types = @server.network_types.presence %>
<%= network_types.map { |type| Modele.human_attribute_name("network_types.#{type}") }.join(", ") %>
<% else %>
<%= Modele.human_attribute_name("network_types.blank") %>
<% end %>
Copy link
Member

Choose a reason for hiding this comment

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

Could be done in a decorator helper?

@nicolas-brousse nicolas-brousse merged commit 4f146e2 into 341607-update-show-pages Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants