From 6668b1a992be1791f5c14d33101c10c6139c4e2d Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Tue, 23 May 2017 13:10:38 +0200 Subject: [PATCH] users: move hats down to other personal things - merged with i18n --- app/views/users/show.html.erb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 4b9cf2c..19f3679 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -67,16 +67,6 @@
<% end %> - <% if @showing_user.hats.any? %> - -
- <% @showing_user.hats.each do |hat| %> - <%= hat.to_html_label %> - <% end %> -
-
- <% end %> - <% if @showing_user.deleted_at? %> @@ -115,6 +105,17 @@
+ <% if @showing_user.hats.any? %> + +
+ <% @showing_user.hats.each do |hat| %> + <%= hat.to_html_label %> + <% end %> +
+
+ <% end %> + + <% if @showing_user.github_username.present? %>