|
|
|
@ -60,10 +60,11 @@ |
|
|
|
|
<li><a href ng-click="showGroupingModal()"><i class="icon-action-menu icon-group-by2"></i>{{ I18n.t('js.toolbar.settings.group_by') }}</a></li> |
|
|
|
|
<li><a href ng-click="toggleDisplaySums()"><i ng-if="query.displaySums" class="icon-action-menu icon-yes"></i><i ng-if="!query.displaySums" class="icon-action-menu no-icon"></i>{{ I18n.t('js.toolbar.settings.display_sums') }}</a></li> |
|
|
|
|
<li class="dropdown-divider"></li> |
|
|
|
|
<li><a href ng-click="saveQuery($event)" ng-class="{'inactive': cannot(query, 'create')}"> |
|
|
|
|
<li><a href ng-click="saveQuery($event)" |
|
|
|
|
ng-class="{'inactive': (!query.isNew() && cannot(query, 'update')) || (query.isNew() && cannot(query, 'create'))}"> |
|
|
|
|
<i class="icon-action-menu icon-save1"></i>{{ I18n.t('js.toolbar.settings.save') }}</a> |
|
|
|
|
</li> |
|
|
|
|
<li><a href ng-click="showSaveAsModal($event)" ng-class="{'inactive': query.isNew() || cannot(query, 'update')}"> |
|
|
|
|
<li><a href ng-click="showSaveAsModal($event)" ng-class="{'inactive': query.isNew() || cannot(query, 'create')}"> |
|
|
|
|
<i class="icon-action-menu icon-save1"></i>{{ I18n.t('js.toolbar.settings.save_as') }}</a> |
|
|
|
|
</li> |
|
|
|
|
<li><a href ng-click="deleteQuery($event)" ng-class="{'inactive': query.isNew() || cannot(query, 'delete')}"> |
|
|
|
|