Skip to content

Commit

Permalink
chore(trial balance): rename error link
Browse files Browse the repository at this point in the history
This commit renames the error link from "SEE" to "VIEW ERRORS".  It
changes the HTML templates and JS links appropriately.
  • Loading branch information
Jonathan Niles authored and sfount committed Nov 15, 2016
1 parent 49f88fd commit 78e3ed3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion client/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@
"RETURN" : "Return",
"SAVE" : "Save",
"SEARCH" : "Search",
"SEE" : "See",
"SELECT_INVOICES" : "Select Invoices",
"SUBMIT" : "Submit",
"SUBMIT_CHANGES" : "Submit Changes",
Expand Down
1 change: 0 additions & 1 deletion client/src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@
"RETURN" : "Retourne",
"SAVE" : "Sauver",
"SEARCH" : "Rechercher",
"SEE" : "Voir",
"SELECT_INVOICES" : "Sélectionner la(les) Facture(s)",
"SUBMIT" : "Soumettre",
"SUBMIT_CREDIT_NOTE" : "Soumettre la note de crédit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function TrialBalanceMainBodyController(Session, trialBalanceService, Grouping,
headerCellFilter: 'translate',
visible: true,
enableCellEdit: false,
cellTemplate: '/partials/journal/templates/trial_balance_actions.cell.html',
cellTemplate: '/partials/journal/templates/error-link.cell.html',
allowCellFocus: false
}
];
Expand Down
5 changes: 5 additions & 0 deletions client/src/partials/journal/templates/error-link.cell.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="ui-grid-cell-contents">
<a href data-method="detail" ng-click="grid.appScope.viewDetailByAccount(row.entity.account_id)" class="text-danger">
<i class="fa fa-warning"></i> {{ "FORM.BUTTONS.VIEW_ERRORS" | translate }}
</a>
</div>

This file was deleted.

0 comments on commit 78e3ed3

Please sign in to comment.