diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-05-23 14:50:01 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-05-23 14:50:01 +0200 |
commit | dfeae15d9d33b3856c8ab3efd1dba7dc4f24d357 (patch) | |
tree | 00148dc164e91f0331b1ec30063589afd76f9ea4 /plugins | |
parent | 78f8974574975db3aab61fb0addcc85def394892 (diff) | |
download | sonarqube-dfeae15d9d33b3856c8ab3efd1dba7dc4f24d357.tar.gz sonarqube-dfeae15d9d33b3856c8ab3efd1dba7dc4f24d357.zip |
SONAR-5333 Add classes to description widget
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb index 8f715cb3b7b..9128bda988d 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/description.html.erb @@ -70,12 +70,12 @@ <% @project.project_links.sort.each do |link| %> <li> <% if link.href.starts_with?('http') %> - <a class="widget-link" target="_blank" href="<%= link.href -%>"> + <a class="widget-link link-<%= h link.link_type -%>" target="_blank" href="<%= link.href -%>"> <i class="icon-<%= h link.link_type -%>"></i> <%= h link.name -%> </a> <% else %> - <a class="widget-link" href="#" onclick="$j('#link_<%= link.id -%>').toggle();return false;"> + <a class="widget-link link-<%= h link.link_type -%>" href="#" onclick="$j('#link_<%= link.id -%>').toggle();return false;"> <i class="icon-<%= h link.link_type -%>"></i> <%= h(link.name) -%> </a> |