diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 573ddcf6f0..9bfc0033b4 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -79,6 +79,7 @@ milestones = Milestones ok = OK cancel = Cancel +rerun = Re-run save = Save add = Add add_all = Add All diff --git a/templates/repo/actions/view.tmpl b/templates/repo/actions/view.tmpl index 0c04671153..85e6f736d8 100644 --- a/templates/repo/actions/view.tmpl +++ b/templates/repo/actions/view.tmpl @@ -2,7 +2,15 @@
{{template "repo/header" .}} -
+
+
{{template "base/footer" .}} diff --git a/web_src/js/components/RepoActionView.vue b/web_src/js/components/RepoActionView.vue index 7389cfe114..3d44f3ef47 100644 --- a/web_src/js/components/RepoActionView.vue +++ b/web_src/js/components/RepoActionView.vue @@ -6,13 +6,13 @@
{{ run.title }}
- - - @@ -93,6 +93,7 @@ const sfc = { runIndex: String, jobIndex: String, actionsURL: String, + locale: Object, }, data() { @@ -314,6 +315,11 @@ export function initRepositoryActionView() { runIndex: el.getAttribute('data-run-index'), jobIndex: el.getAttribute('data-job-index'), actionsURL: el.getAttribute('data-actions-url'), + locale: { + approve: el.getAttribute('data-locale-approve'), + cancel: el.getAttribute('data-locale-cancel'), + rerun: el.getAttribute('data-locale-rerun'), + } }); view.mount(el); }