From: Stas Vilchik Date: Mon, 18 Jan 2016 09:31:05 +0000 (+0100) Subject: SONAR-7224 Links to favorite projects in "My Profile" page do not work X-Git-Tag: 5.4-M8~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5e12a8cf6011e4f95405a1f8abeee38c92245141;p=sonarqube.git SONAR-7224 Links to favorite projects in "My Profile" page do not work --- diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb index 3f70a93fd58..e0f6c2f658f 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/views/account/_favorites.html.erb @@ -5,7 +5,15 @@ <% current_user.favourites.each_with_index do |f, index | %> = max_favorites %>class="hidden"<% end %>> <%= link_to_favourite f -%> - <%= qualifier_icon f %> <%= link_to_resource f %> + + <% + url = ApplicationController.root_context + '/dashboard?id=' + url_encode(f.key) + %> + + <%= qualifier_icon f %> + <%= h f.name -%> + + <% end %>