Skip to content

Commit

Permalink
Merge pull request #221 from davidfmiller/develop
Browse files Browse the repository at this point in the history
Translation of field names in table micropanel
  • Loading branch information
aadel committed Jun 20, 2015
2 parents 6816ffb + 2deb181 commit c1bd374
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/panels/table/micropanel.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<a class="close" ng-click="dismiss()" href="">×</a>
<h4>
Micro Analysis of {{micropanel.field}}
Micro Analysis of {{facet_label(micropanel.field)}}
<i class="pointer icon-search" ng-click="fieldExists(micropanel.field,'must');dismiss();"></i>
<i class="pointer icon-ban-circle" ng-click="fieldExists(micropanel.field,'mustNot');dismiss();"></i>
<br>
Expand All @@ -15,7 +15,7 @@ <h4>
</h4>
<table style="width:100%;table-layout:fixed" class='table table-striped table-condensed'>
<thead>
<th style="width:260px">{{micropanel.field}}</th>
<th style="width:260px">{{facet_label(micropanel.field)}}</th>
<th style="width:40px">Action</th>
<th style="width:100px;text-align:right">Count</th>
</thead>
Expand All @@ -42,4 +42,4 @@ <h4>
<div ng-repeat='field in micropanel.values' bs-tooltip="field[0]+' ('+percent(field[1], micropanel.count)+')'" class="bar {{micropanelColor($index)}}" ng-style="{width: percent(field[1], micropanel.count)};"></div>
</div>
<!-- I don't think related fields are being used? -->
<!-- <span ng-repeat='(field,count) in micropanel.related'><a ng-click="toggle_field(field)">{{field}}</a> ({{Math.round((count / micropanel.count) * 100)}}%), </span> -->
<!-- <span ng-repeat='(field,count) in micropanel.related'><a ng-click="toggle_field(field)">{{field}}</a> ({{Math.round((count / micropanel.count) * 100)}}%), </span> -->

0 comments on commit c1bd374

Please sign in to comment.