]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5333 Fix link style in table footer
authorStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 17:34:59 +0000 (23:34 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 1 Jul 2014 17:34:59 +0000 (23:34 +0600)
sonar-server/src/main/less/style.less
sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
sonar-server/src/main/webapp/WEB-INF/app/views/project/widgets/issues/_issues_list.html.erb

index dc70d2aab1ad7153a5c3d707e55d8d96029aa19d..d359113276f5578c40057e9d461daa0ce5ccec98 100644 (file)
@@ -2087,7 +2087,7 @@ h1 strong, .dashbox .title, .gwt-SourcePanel .sources .msg li strong {
   font-weight: bold;
 }
 
-h4 a, h4 a:visited, .gray, table.data tfoot a, table.data tfoot a:visited {
+h4 a, h4 a:visited, .gray {
   color: #777;
 }
 
index 422e9901ebf237d1b957b0eae7b60adecdbf87a7..c9ccaf7012eb81545d60f81cf304d43da13e93f3 100644 (file)
@@ -947,7 +947,7 @@ module ApplicationHelper
     total = pagination.total.to_i
     page_index = pagination.pageIndex() ? pagination.pageIndex().to_i : 1
     pages = pagination.pages().to_i
-    results_html = options[:url_results] ? message('x_results', :params => "<a href='#{options[:url_results]}'>#{total}</a>") : message('x_results', :params => [total])
+    results_html = options[:url_results] ? message('x_results', :params => "<a class='underlined-link' href='#{options[:url_results]}'>#{total}</a>") : message('x_results', :params => [total])
 
     html = '<tfoot'
     html += " id='#{options[:id]}'" if options[:id]
index 15719704de4278f3f03091bbe6f3a61f04485f3d..141d250d49184aa358a0a07eaf023bf825a137a9 100644 (file)
@@ -71,7 +71,7 @@
     <%= paginate_java(paging, :colspan => 3, :id => "issue-filter-foot-#{widget_id}", :include_loading_icon => true,
                       :url_results => url_for_issues(search_options.except('pageSize', 'pageIndex', 'table_limit', 'widget_id')) ) { |label, page_id|
 <<EOF
-<a href="#" onclick="$j.ajax({ url:'#{url_for(link_params.merge({:pageIndex => page_id}))}',   type:'post', success:function(response){$j('#issues-widget-#{widget_id}').html(response);}}); return false;">#{label}</a>
+<a class="underlined-link" href="#" onclick="$j.ajax({ url:'#{url_for(link_params.merge({:pageIndex => page_id}))}',   type:'post', success:function(response){$j('#issues-widget-#{widget_id}').html(response);}}); return false;">#{label}</a>
 EOF
     } -%>
   </table>