Skip to content
Snippets Groups Projects
Commit cfc59653 authored by Eike Cochu's avatar Eike Cochu
Browse files

fixed topimodel popover

parent 4926889c
No related branches found
No related tags found
No related merge requests found
<table class="popover-table"> <table class="popover-table">
<tr> <tr>
<td>Article count</td> <th>Article count</th>
<td ng-bind="rootModels.topicModel.articleCount"></td> <td ng-bind="rootModels.topicModel.articleCount || 0"></td>
</tr> </tr>
<tr> <tr>
<td>Topic count</td> <th>Topic count</th>
<td ng-bind="rootModels.topicModel.topicCount"></td> <td ng-bind="rootModels.topicModel.topicCount || 0"></td>
</tr> </tr>
<tr> <tr>
<td>Entity count</td> <th>Entity count</th>
<td ng-bind="rootModels.topicModel.entityCount"></td> <td ng-bind="rootModels.topicModel.entityCount || 0"></td>
</tr> </tr>
<tr> <tr>
<td>Word count</td> <th>Word count</th>
<td ng-bind="rootModels.topicModel.wordCount"></td> <td ng-bind="rootModels.topicModel.wordCount || 0"></td>
</tr> </tr>
<tr> <tr>
<td>Window count</td> <th>Window count</th>
<td ng-bind="rootModels.topicModel.windowCount"></td> <td ng-bind="rootModels.topicModel.windowCount || 0"></td>
</tr> </tr>
<tr> <tr>
<td>Last generated</td> <th>Last generated</th>
<td ng-bind-template="{{$root.Vipra.formatDateTime(rootModels.topicModel.lastGenerated)}}"></td> <td ng-bind-template="{{$root.Vipra.formatDateTime(rootModels.topicModel.lastGenerated) || 'never'}}"></td>
</tr> </tr>
<tr> <tr>
<td>Last indexed</td> <th>Last indexed</th>
<td ng-bind-template="{{$root.Vipra.formatDateTime(rootModels.topicModel.lastIndexed)}}"></td> <td ng-bind-template="{{$root.Vipra.formatDateTime(rootModels.topicModel.lastIndexed) || 'never'}}"></td>
</tr> </tr>
<tr> <tr>
<td>Last modified</td> <th>Last modified</th>
<td ng-bind-template="{{$root.Vipra.formatDateTime(rootModels.topicModel.modified)}}"></td> <td ng-bind-template="{{$root.Vipra.formatDateTime(rootModels.topicModel.modified) || 'never'}}"></td>
</tr> </tr>
</table> </table>
\ No newline at end of file
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</form> </form>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li ng-class="{'text-italic active':rootModels.topicModel}" bs-popover popover-template="partials/topicmodel-popover.html" popover-delay="500" popover-placement="bottom"> <li ng-class="{'text-italic active':rootModels.topicModel}" bs-popover popover-template="partials/topicmodel-popover.html" popover-delay="500" popover-placement="bottom">
<a class="active-topicmodel" tabindex="0" ng-click="chooseTopicModel()" ng-bind-template="{{rootModels.topicModel ? rootModels.topicModel.name : 'Models'}}" ng-attr-title="{{rootModels.topicModel.name}}&nbsp;&#10;{{rootModels.topicModel.modelConfig.description}}" analytics-on analytics-event="Menu Item (Topic Models)" analytics-category="Menu actions"></a> <a class="active-topicmodel" tabindex="0" ng-click="chooseTopicModel()" ng-bind-template="{{rootModels.topicModel ? rootModels.topicModel.name : 'Models'}}" analytics-on analytics-event="Menu Item (Topic Models)" analytics-category="Menu actions"></a>
</li> </li>
<li ng-class="{disabled:!rootModels.helpEnabled}" ng-attr-title="{{ rootModels.helpEnabled ? 'Help' : 'No help available' }}"> <li ng-class="{disabled:!rootModels.helpEnabled}" ng-attr-title="{{ rootModels.helpEnabled ? 'Help' : 'No help available' }}">
<a ng-click="showHelp()"> <a ng-click="showHelp()">
......
...@@ -1086,7 +1086,7 @@ entity-menu { ...@@ -1086,7 +1086,7 @@ entity-menu {
} }
.popover-table { .popover-table {
td + td { th + td {
padding-left: 5px; padding-left: 5px;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment