Skip to content

Commit

Permalink
[webui] remove the home project link on requests page
Browse files Browse the repository at this point in the history
I see no point in adding tons of backlinks - and the link is in doubt
broken
  • Loading branch information
coolo committed Dec 7, 2012
1 parent 41e257d commit ecfa8a2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/webui/app/views/home/requests.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@
<% @pagetitle = 'My Requests' if @displayed_user.to_s == @user.login %>
<% @crumb_list = [@pagetitle] %>

<h3><%= @pagetitle %></h3>

<% if @displayed_user.to_s != @user.login %>
<ul>
<li><%= link_to('User profile', :controller => 'home', :user => @displayed_user.to_s) %></li>
<li><%= link_to('Home project', :controller => 'project', :action => 'show', :project => 'home:' + @displayed_user.to_s) %></li>
</ul>
<% end %>
<h3>Requests for <%= link_to(@displayed_user.to_s, :controller => 'home', :user => @displayed_user.to_s) %></h3>

<%= render(:partial => 'shared/select_requests', :locals => {:requests => @requests, :userid => @displayed_user.to_s}) %>

0 comments on commit ecfa8a2

Please sign in to comment.