diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-06-25 15:36:47 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-06-25 15:36:59 +0600 |
commit | b28de66e51a1409c1813402c4a875fce07b0e09e (patch) | |
tree | 8061321f9cadb4826f033800f6442fe981389192 /sonar-server/src/main/webapp | |
parent | 669fdadd3bcd34ae9691505c7baf3d4428e76b14 (diff) | |
download | sonarqube-b28de66e51a1409c1813402c4a875fce07b0e09e.tar.gz sonarqube-b28de66e51a1409c1813402c4a875fce07b0e09e.zip |
SONAR-5333 Fix links
Diffstat (limited to 'sonar-server/src/main/webapp')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb index ed90bb2dccd..0f4c9323fd4 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/components_helper.rb @@ -40,7 +40,8 @@ module ComponentsHelper links = links_by_project_id[project.id] if links links.each do |link| - content << link_to(image_tag(link.icon, :alt => link.name), link.href, :class => 'nolink', :popup => true) unless link.custom? + content << link_to("<i class='icon-#{link.link_type}' alt='#{link.name}'></i>", link.href, :popup => true) unless link.custom? + content << ' ' end end elsif column.build_time_column? |