Commit f453f1a9a59119bd3567b4241c81d4b23023cafb
1 parent
1632de4a
Exists in
master
and in
27 other branches
Removed needless condition
(ActionItem3009)
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
app/views/account/_identifier_status.rhtml
1 | <div class='status-identifier'> | 1 | <div class='status-identifier'> |
2 | <% if @suggested_usernames %> | 2 | <% if @suggested_usernames %> |
3 | - <% @status += '<br>' + _('Available: ') if not @suggested_usernames.empty? %> | 3 | + <% @status += '<br/>' + _('Available: ') %> |
4 | <% @suggested_usernames.each do |username| %> | 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 | <% end %> | 7 | <% end %> |
8 | 8 | ||
9 | 9 | ||
@@ -17,4 +17,4 @@ | @@ -17,4 +17,4 @@ | ||
17 | fill_username(this.innerHTML); | 17 | fill_username(this.innerHTML); |
18 | }); | 18 | }); |
19 | </script> | 19 | </script> |
20 | -</div> | ||
21 | \ No newline at end of file | 20 | \ No newline at end of file |
21 | +</div> |