Commit f453f1a9a59119bd3567b4241c81d4b23023cafb

Authored by Daniela Feitosa
1 parent 1632de4a

Removed needless condition

(ActionItem3009)
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
app/views/account/_identifier_status.rhtml
1 1 <div class='status-identifier'>
2 2 <% if @suggested_usernames %>
3   - <% @status += '<br>' + _('Available: ') if not @suggested_usernames.empty? %>
  3 + <% @status += '<br/>' + _('Available: ') %>
4 4 <% @suggested_usernames.each do |username| %>
5   - <% @status += "<a href='#' class='suggested_usernames'>" + username + '</a> ' %>
6   - <%end%>
  5 + <% @status += "<a href='#' class='suggested_usernames'>" + username + '</a> ' %>
  6 + <% end %>
7 7 <% end %>
8 8  
9 9  
... ... @@ -17,4 +17,4 @@
17 17 fill_username(this.innerHTML);
18 18 });
19 19 </script>
20   -</div>
21 20 \ No newline at end of file
  21 +</div>
... ...