]> source.dussan.org Git - sonarqube.git/commitdiff
improve link on background tasks page
authorStas Vilchik <vilchiks@gmail.com>
Fri, 15 Jan 2016 15:44:52 +0000 (16:44 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 15 Jan 2016 16:43:28 +0000 (17:43 +0100)
server/sonar-web/src/main/js/apps/background-tasks/tasks.js
server/sonar-web/src/main/less/init/links.less

index fe7a559a9cfbe3b593f9d55334073d36dd527cdd..a97ea018b4486073e9ce91aae8a9a2d1f7fb7409 100644 (file)
@@ -78,10 +78,12 @@ export default React.createClass({
 
     return (
         <td>
-          <span className="little-spacer-right">
-            <QualifierIcon qualifier={task.componentQualifier}/>
-          </span>
-          <a href={getComponentUrl(task.componentKey)}>{task.componentName}</a>
+          <a className="link-with-icon" href={getComponentUrl(task.componentKey)}>
+            <span className="little-spacer-right">
+              <QualifierIcon qualifier={task.componentQualifier}/>
+            </span>
+            <span>{task.componentName}</span>
+          </a>
         </td>
     );
   },
@@ -170,16 +172,16 @@ export default React.createClass({
     return (
         <table className="data zebra background-tasks">
           <thead>
-          <tr>
-            <th>&nbsp;</th>
-            <th>&nbsp;</th>
-            <th>&nbsp;</th>
-            <th>{translate('background_tasks.table.submitted')}</th>
-            <th>{translate('background_tasks.table.started')}</th>
-            <th>{translate('background_tasks.table.finished')}</th>
-            <th>{translate('background_tasks.table.duration')}</th>
-            <th>&nbsp;</th>
-          </tr>
+            <tr>
+              <th>&nbsp;</th>
+              <th>&nbsp;</th>
+              <th>&nbsp;</th>
+              <th>{translate('background_tasks.table.submitted')}</th>
+              <th>{translate('background_tasks.table.started')}</th>
+              <th>{translate('background_tasks.table.finished')}</th>
+              <th>{translate('background_tasks.table.duration')}</th>
+              <th>&nbsp;</th>
+            </tr>
           </thead>
           <tbody>{tasks}</tbody>
         </table>
index 5132e0eabd905b5cd7350508f64d9129da02a326..1c0b097155d8e65fb4572d3a2f4b8581c7d37026 100644 (file)
@@ -53,6 +53,9 @@ a {
 
 .link-no-underline { border-bottom: none; }
 
+.link-with-icon { border-bottom: none; }
+.link-with-icon > span:last-child { border-bottom: 1px solid @lightBlue; }
+
 a.active-link,
 .link-active {
   .link-no-underline;