user profile: show twitter info here too

This commit is contained in:
Carl Chenet 2017-05-23 10:46:33 +02:00
parent 3f6646d87b
commit ec93040614

View file

@ -119,8 +119,19 @@
<label class="required">GitHub:</label>
<span class="d">
<a href="https://github.com/<%= h(@showing_user.github_username)
%>">https://github.com/<%= h(@showing_user.github_username) %></a>
<a href="https://github.com/<%= h(@showing_user.github_username) %>"
rel="nofollow">https://github.com/<%= h(@showing_user.github_username)
%></a>
</span>
<br>
<% end %>
<% if @showing_user.twitter_username.present? %>
<label class="required">Twitter:</label>
<span class="d">
<a href="https://twitter.com/<%= h(@showing_user.twitter_username) %>"
rel="nofollow">@<%= h(@showing_user.twitter_username) %></a>
</span>
<br>
<% end %>