Skip to content

Commit

Permalink
Merge pull request #1877 from kcarcia/kc/OF
Browse files Browse the repository at this point in the history
Decreased Name Length
  • Loading branch information
kcarcia committed Dec 8, 2014
2 parents 3149ef4 + b0006ac commit f8ae41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<ul class="nav navbar-nav navbar-right">
<% if @cur_user.try(:id) %>
<li class="navbtn" title="Click to view <%= @cur_user.name %>'s profile page">
<% if @cur_user.name.length < 50 %>
<% if @cur_user.name.length < 30 %>
<%= link_to @cur_user.name, user_path(@cur_user) %>
<% else %>
<%= link_to "My Account", user_path(@cur_user) %>
Expand Down

0 comments on commit f8ae41b

Please sign in to comment.