'mouseleave .duplication-exists': 'duplicationMouseLeave'
'click .js-expand': 'expandBlock'
+ 'click .js-expand-all': 'expandAll'
initialize: ->
@render()
+ expandAll: ->
+ @showBlocks.push from: 0, to: _.size @model.get 'source'
+ @render()
+
getLineCoverage: (line) ->
coverage = @model.get 'coverage'
<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
</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>
}
&.settings {
+ line-height: 22px;
text-align: left;
+
+ .icon-not-favorite,
+ .icon-favorite {
+ float: right;
+ padding-top: 2px;
+ }
}
&.settings-toggle {
border-right: none;
background: url(../images/gray-stripes.png) repeat;
}
+
+ .line { text-align: right; }
}
.code .row-hidden { display: none; }