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 header.html #959

Merged
merged 4 commits into from
Apr 1, 2015
Merged

Update header.html #959

merged 4 commits into from
Apr 1, 2015

Conversation

danilomunoz
Copy link
Contributor

Correcting the english version link to Google Groups. Notive that the english version had another behavior, but this was proposed in the user list (https://groups.google.com/forum/#!topic/caelum-vraptor/kfYMTMxKoUk), once the most used list is caelum-vraptor.

Correcting the english version link to Google Groups. Notive that the english version had another behavior, but this was proposed in the user list (https://groups.google.com/forum/#!topic/caelum-vraptor/kfYMTMxKoUk), once the most used list is caelum-vraptor.
@@ -9,7 +9,7 @@ <h1 class="logo"><a class="logo-link" href="/<%=path%>">
<div class="header-links">
<ul class="community">

<li><a href="https://groups.google.com/forum/<%=path == 'en' ? '?hl=en#!forum/vraptor4' : '#!forum/caelum-vraptor'%>" target="_blank">Google Groups</a></li>
<li><a href="https://groups.google.com/forum/#!forum/caelum-vraptor>" target="_blank">Google Groups</a></li>
Copy link
Member

Choose a reason for hiding this comment

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

Hi @danilomunoz, thanks in advance for sending the pull request.
There is distinct lists for EN and PT_BR languages, as you can see:

https://groups.google.com/forum/#!forum/caelum-vraptor-en
https://groups.google.com/forum/#!forum/caelum-vraptor

Thinking on that, we can't use caelum-vraptor group for both. it'd
be more appropriate to do something like that:

/#!forum/caelum-vraptor<%= path == 'en' ? '-en' : ' ' %>

What do you think? Could you please update your PR? Thanks again

Supporting english version
@@ -9,7 +9,7 @@ <h1 class="logo"><a class="logo-link" href="/<%=path%>">
<div class="header-links">
<ul class="community">

<li><a href="https://groups.google.com/forum/<%=path == 'en' ? '?hl=en#!forum/vraptor4' : '#!forum/caelum-vraptor'%>" target="_blank">Google Groups</a></li>
<li><a href="https://groups.google.com/forum//#!forum/caelum-vraptor<%= path == 'en' ? '-en' : '' %>>" target="_blank">Google Groups</a></li>
Copy link
Member

Choose a reason for hiding this comment

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

@danilomunoz thank you for changing this, but looks like it has an extra
slash and greater-than sign. This is how the resulted URL is looking like:

https://groups.google.com/forum//#!forum/caelum-vraptor-en>

and this is how it should look like:

https://groups.google.com/forum/#!forum/caelum-vraptor-en

Sorry for my fault. Corrected.
Turini added a commit that referenced this pull request Apr 1, 2015
@Turini Turini merged commit 6e0b914 into caelum:master Apr 1, 2015
@Turini
Copy link
Member

Turini commented Apr 1, 2015

Thank you for this contribution, @danilomunoz.

@danilomunoz
Copy link
Contributor Author

I thank you @Turini
:-)

@Turini
Copy link
Member

Turini commented Apr 1, 2015

just updating, it's deployed! :)
You can see it working here http://www.vraptor.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants