diff options
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> |