column = cell.parent().children().index(cell) - 1
row = cell.parent().parent().children().index cell.parent()
id = @collection.at(row).get('v')[column].i
+ return unless id
@showInfoViewSpinner()
@scrollToInfoView()
$.get API_DEPENDECIES, parent: id, (data) =>
<div class="dsm-header">
- <i class="icon-help"></i> <a href="http://docs.codehaus.org/x/QQFhC">{{t 'help'}}</a>
+ <i class="icon-help"></i> <a href="http://docs.codehaus.org/x/QQFhC">{{t 'design.help'}}</a>
</div>
<ul class="dsm-legend">
<li>
<span class="dsm-legend-square gray"></span>
- <span class="dsm-legend-label">Dependency</span>
+ <span class="dsm-legend-label">{{t 'design.legend.dependencies'}}</span>
</li>
<li>
<span class="dsm-legend-square red"></span>
- <span class="dsm-legend-label">Suspect dependency (cycle)</span>
+ <span class="dsm-legend-label">{{t 'design.legend.cycles'}}</span>
</li>
<li>
<span class="dsm-legend-square green"></span>
- <span class="dsm-legend-label">uses</span>
+ <span class="dsm-legend-label">{{t 'design.legend.uses'}}</span>
<span class="dsm-legend-square blue"></span>
- <span class="dsm-legend-label">uses</span>
+ <span class="dsm-legend-label">{{t 'design.legend.uses'}}</span>
<span class="dsm-legend-square yellow"></span>
</li>
</ul>
<tbody>
{{#eachIndex items}}
<tr>
- <td class="dsm-body-title">
+ <td class="dsm-body-title" title="{{t 'design.rowTooltip'}}">
{{qualifierIcon q}} {{n}}
<span class="dsm-body-title-indicator"></span>
</td>
{{#eachIndex v}}
- <td class="dsm-body-cell {{#if status}}dsm-body-cell-{{status}}{{/if}}">
+ <td class="dsm-body-cell {{#if status}}dsm-body-cell-{{status}}{{/if}}" title="{{t 'design.cellTooltip'}}">
{{#eq index ../index}}–{{else}}{{w}}{{/eq}}
</td>
{{/eachIndex}}
component_viewer.workspace.tooltip=Keeps track of history of navigation
component_viewer.workspace.show_workspace=Show workspace
component_viewer.workspace.hide_workspace=Hide workspace
+
+
+#------------------------------------------------------------------------------
+#
+# DESIGN
+#
+#------------------------------------------------------------------------------
+design.help=Help
+design.legend.dependencies=Dependency
+design.legend.cycles=Suspect dependency (cycle)
+design.legend.uses=- uses >
+design.cellTooltip=Click to highlight, double-click to display more details
+design.rowTooltip=Click to highlight, double-click to zoom