UX: Add headers for webhook events

This commit is contained in:
Erick Guan
2016-09-15 12:57:04 +08:00
committed by Guo Xiang Tan
parent 00d5facf36
commit 48fb0558d8
5 changed files with 30 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ export default Ember.Component.extend({
@computed('model.duration')
completion(duration) {
const seconds = Math.floor(duration / 10.0) / 100.0;
return I18n.t('admin.web_hooks.events.completion', { seconds });
return I18n.t('admin.web_hooks.events.completed_in', { count: seconds });
},
actions: {