diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-04-30 12:06:54 +0600 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-04-30 12:06:54 +0600 |
commit | 57f870e8a5afb42082e47165a227ae10243845f3 (patch) | |
tree | baadf736a7e257bd1d63a5f8cf24903bd9b70f20 /sonar-server/src/main/hbs | |
parent | 9c811fbeea8de168d5927f610cc41af5bfffdc07 (diff) | |
download | sonarqube-57f870e8a5afb42082e47165a227ae10243845f3.tar.gz sonarqube-57f870e8a5afb42082e47165a227ae10243845f3.zip |
Component Viewer: feedback applied
Diffstat (limited to 'sonar-server/src/main/hbs')
-rw-r--r-- | sonar-server/src/main/hbs/component-viewer/code-expand.hbs | 4 | ||||
-rw-r--r-- | sonar-server/src/main/hbs/component-viewer/source.hbs | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sonar-server/src/main/hbs/component-viewer/code-expand.hbs b/sonar-server/src/main/hbs/component-viewer/code-expand.hbs index 837830a67b4..24a8ac563e2 100644 --- a/sonar-server/src/main/hbs/component-viewer/code-expand.hbs +++ b/sonar-server/src/main/hbs/component-viewer/code-expand.hbs @@ -9,5 +9,7 @@ <td class="stat lid"> <button class="button-clean js-expand" data-from="{{from}}" data-to="{{to}}"><i class="icon-expand"></i></button> </td> - <td class="line"></td> + <td class="line"> + <a class="action js-expand-all">Show full source</a> + </td> </tr>
\ No newline at end of file diff --git a/sonar-server/src/main/hbs/component-viewer/source.hbs b/sonar-server/src/main/hbs/component-viewer/source.hbs index b5cba8fe256..2fd19b82ee5 100644 --- a/sonar-server/src/main/hbs/component-viewer/source.hbs +++ b/sonar-server/src/main/hbs/component-viewer/source.hbs @@ -37,7 +37,10 @@ </li> </ul> - {{qualifierIcon component.qualifier}} <span class="component-viewer-title">{{component.name}}</span> + {{qualifierIcon component.qualifier}} <span class="component-viewer-title">{{component.lname}}</span> + + <a class="icon-not-favorite" href="#" onclick="toggleFav({{component.id}}, this); return false;" + title="Click to add to favourites"></a> </th> </tr> <tr> |