]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3862 Improve rendering
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Wed, 5 Dec 2012 11:40:44 +0000 (12:40 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Wed, 5 Dec 2012 11:43:20 +0000 (12:43 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties
sonar-server/src/main/webapp/WEB-INF/app/views/entities/index.html.erb

index cbabdb74440804bda01499dfcdee364fef1ed753..66def548318ee7d47cbc5374b8b2d3dc5a3bd4fd 100644 (file)
@@ -504,9 +504,7 @@ reviews.filtered_by.to=To date
 #------------------------------------------------------------------------------
 
 entities.cols.name=Name
-entities.cols.description=Description
 entities.cols.key=Key
-entities.cols.links=Links
 
 
 #------------------------------------------------------------------------------
index 5a0782cb89f01afaf89ba9eff42f8cc420f3a3d2..08682cd40ae7d9345bb4bad0e8deae3f0fb2f190 100644 (file)
       <thead>
         <tr>
           <% if display_favourites %>
-            <th class="thin"></th>
+            <th class="thin" style></th>
           <% end %>
-          <th>
+          <th class="thin">
             <%= link_to_function( message('entities.cols.name'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'name'})") -%>
             <% if @filter.sort_key=='name' %>
               <%= @filter.sort_asc? ? image_tag("asc12.png") : image_tag("desc12.png") -%>
             <% end %>
           </th>
+          <th></th>
           <th>
-            <%= link_to_function( message('entities.cols.description'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'description'})") -%>
-            <% if @filter.sort_key=='description' %>
-              <%= @filter.sort_asc? ? image_tag("asc12.png") : image_tag("desc12.png") -%>
-            <% end %>
-          </th>
-          <th class="right">
             <%= link_to_function( message('entities.cols.key'), "reloadParameters({asc:'#{(!@filter.sort_asc?).to_s}', sort:'key'})") -%>
             <% if @filter.sort_key=='key' %>
               <%= @filter.sort_asc? ? image_tag("asc12.png") : image_tag("desc12.png") -%>
             <% end %>
           </th>
-          <th class="right">
-            <%= message('entities.cols.links') -%>
-          </th>
+          <th></th>
+          <th></th>
+          <th></th>
+          <th></th>
         </tr>
       </thead>
   
             <td class="nowrap">
               <%= qualifier_icon(result.snapshot)-%> <%= link_to(result.snapshot.resource.name(true), {:controller => 'dashboard', :id => result.snapshot.resource_id}, :title => result.snapshot.resource.key) -%>
             </td>
+            <td class="sep"></td>
+            <td class="nowrap">
+              <span class='small'><%= result.snapshot.resource.kee -%></span>
+            </td>
+            <td class="sep"></td>
             <td>
               <%= h result.snapshot.resource.description -%>
             </td>
-            <td class="nowrap right">
-              <span class='small'><%= result.snapshot.resource.kee -%></span>
-            </td>
+            <td class="sep"></td>
             <td class="nowrap right">
               <% 
                  if result.links