-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vouchers): bug/UX fixes on findReference Modal
This commit fixes usability issues on the findReference modal. 1. Makes the header an `<ol>` headercrumb 2. Uses the `translate` directive 3. Adds a loading indicator to the grid. 4. Makes sure the reference identifier is clearly visible in grid. Closes #1127. Closes 1139.
- Loading branch information
Showing
5 changed files
with
139 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<div class="ui-grid-cell-contents" | ||
ng-class="{'bg-success': row.entity.entity.type=='D', 'bg-warning': row.entity.entity.type=='C'}"> | ||
ng-class="{'bg-success': row.entity.entity.type == 'D', 'bg-warning': row.entity.entity.type == 'C'}"> | ||
<a | ||
class="text-action" | ||
ng-click="grid.appScope.openEntityModal(row.entity)" | ||
data-entity-button> | ||
|
||
<span | ||
ng-show="row.entity.entity.uuid" | ||
ng-class="{'text-success': row.entity.entity.type=='D', 'text-warning': row.entity.entity.type=='C'}"> | ||
ng-class="{'text-success': row.entity.entity.type == 'D', 'text-warning': row.entity.entity.type == 'C'}"> | ||
<i class="fa fa-user"></i> {{ row.entity.entity.label }} | ||
</span> | ||
|
||
<span ng-hide="row.entity.entity.uuid"> | ||
<i class="fa fa-plus"></i> {{ 'FORM.LABELS.ENTITY' | translate }} | ||
<i class="fa fa-plus"></i> <span translate>FORM.LABELS.ENTITY</span> | ||
</span> | ||
</a> | ||
</div> |
Oops, something went wrong.