General information
- Age
- <%= @user.age %>
<% if !@user.country.blank? %>
- Country
- <%= @user.country %>
<% end %>
<% if !@user.profile.town.blank? %>
- Town
- <%= @user.profile.town %>
<% end %>
<% if !@user.steamid.blank? %>
- SteamID
-
<%= @user.steamid %>
<%= link_to "Search for Steam Account" %>
<% end %>
<% if !@user.profile.stream.blank? %>
- Stream
- <%= @user.profile.stream %>
<% end %>
Contact
<% if !@user.profile.web.blank? %>
- Web
- <%= @user.profile.web %>
<% end %>
<% if cuser and cuser.admin? or @user.public_email %>
- Email
- <%= @user.email_s %>
<% end %>
<% if @user.profile.steam_profile and @user.profile.steam_profile != "" %>
- Steam
-
<% if @user.profile.steam_profile.match(/\A[0-9]*\z/) %>
<%= link_to @user.profile.steam_profile, "http://steamcommunity.com/profiles/#{@user.profile.steam_profile}" %>
<% elsif @user.profile.steam_profile.match(/\A[A-Za-z0-9_\-\+]{1,40}\z/) %>
<%= link_to @user.profile.steam_profile, "http://steamcommunity.com/id/#{@user.profile.steam_profile}" %>
<% end %>
<% end %>
<% if @user.profile.achievements and !@user.profile.achievements.empty? %>
Achievements
<%= @user.profile.achievements_parsed.html_safe %>
<% end %>
<%= link_to "Send PM", { controller: "messages", action: "new", id: "User", id2: @user }, { class: 'button tiny' } %>