Minor fixes

- Fix translation strings.
- Fix dropdown style in motion table.
This commit is contained in:
Emanuel Schuetze 2016-09-27 14:59:55 +02:00
parent a02a39e7ae
commit 4732c64617
2 changed files with 3 additions and 3 deletions

View File

@ -760,7 +760,7 @@ img {
display: inline-block;
}
#motion-table .dropdown > span, #motion-table .sort-spacer {
#motion-table .header-row .dropdown > span, #motion-table .sort-spacer {
padding: 5px 10px 5px 10px;
}

View File

@ -162,14 +162,14 @@
<div ng-if="user.duplicate" uib-tooltip="{{ user.duplicate_info }}" uib-dropdown>
<button type="button" class="btn btn-default btn-sm"
uib-dropdown-toggle ng-class="user.duplicateAction == duplicateActions[0] ? 'btn-warning' : (user.duplicateAction == duplicateActions[1] ? 'btn-danger' : 'btn-success')">
{{ user.duplicateAction }}
{{ user.duplicateAction | translate }}
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-entries">
<li role="menuitem" ng-repeat="action in duplicateActions" class="pointer"
ng-click="user.duplicateAction = action; calcStats()">
<i class="fa fa-check" ng-if="user.duplicateAction == action"></i>
<translate>{{ action | translate }}</translate>
{{ action | translate }}
</li>
</ul>
</table>