Permalink
Browse files

fix(customActions): handle translation for title

  • Loading branch information...
jeremyvergnas committed Jun 28, 2016
1 parent 7a2b0ca commit 2da4165df63c0650840a944be8a1338f0ccfa290
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/bootstrap/datatable.html
@@ -64,7 +64,7 @@
<i class="fa fa-trash"></i>
</button>
<button repeat.for="action of actions" title.bind="action.title || ''" disabled.bind="action.disabled" class="btn btn-sm btn-${action.type || 'white'}" click.delegate="doCustomAction(action, row)">
<button repeat.for="action of actions" t="[title]action.title" title.bind="action.title || ''" disabled.bind="action.disabled" class="btn btn-sm btn-${action.type || 'default'}" click.delegate="doCustomAction(action, row)">
<i if.bind="action.icon" class="fa fa-${action.icon}"></i>
<span if.bind="!action.icon && action.title" t="${action.title}">${action.title}</span>
</button>

0 comments on commit 2da4165

Please sign in to comment.