|
2 | 2 |
|
3 | 3 | <div class="page-content repository"> |
4 | 4 | {{template "repo/header" .}} |
5 | | - <div id="repo-action-view" |
6 | | - data-run-index="{{.RunIndex}}" |
7 | | - data-job-index="{{.JobIndex}}" |
8 | | - data-actions-url="{{.ActionsURL}}" |
9 | | - data-locale-approve="{{ctx.Locale.Tr "repo.diff.review.approve"}}" |
10 | | - data-locale-cancel="{{ctx.Locale.Tr "cancel"}}" |
11 | | - data-locale-rerun="{{ctx.Locale.Tr "rerun"}}" |
12 | | - data-locale-rerun-all="{{ctx.Locale.Tr "rerun_all"}}" |
13 | | - data-locale-runs-scheduled="{{ctx.Locale.Tr "actions.runs.scheduled"}}" |
14 | | - data-locale-runs-commit="{{ctx.Locale.Tr "actions.runs.commit"}}" |
15 | | - data-locale-runs-pushed-by="{{ctx.Locale.Tr "actions.runs.pushed_by"}}" |
16 | | - data-locale-status-unknown="{{ctx.Locale.Tr "actions.status.unknown"}}" |
17 | | - data-locale-status-waiting="{{ctx.Locale.Tr "actions.status.waiting"}}" |
18 | | - data-locale-status-running="{{ctx.Locale.Tr "actions.status.running"}}" |
19 | | - data-locale-status-success="{{ctx.Locale.Tr "actions.status.success"}}" |
20 | | - data-locale-status-failure="{{ctx.Locale.Tr "actions.status.failure"}}" |
21 | | - data-locale-status-cancelled="{{ctx.Locale.Tr "actions.status.cancelled"}}" |
22 | | - data-locale-status-skipped="{{ctx.Locale.Tr "actions.status.skipped"}}" |
23 | | - data-locale-status-blocked="{{ctx.Locale.Tr "actions.status.blocked"}}" |
24 | | - data-locale-artifacts-title="{{ctx.Locale.Tr "artifacts"}}" |
25 | | - data-locale-confirm-delete-artifact="{{ctx.Locale.Tr "confirm_delete_artifact"}}" |
26 | | - data-locale-show-timestamps="{{ctx.Locale.Tr "show_timestamps"}}" |
27 | | - data-locale-show-log-seconds="{{ctx.Locale.Tr "show_log_seconds"}}" |
28 | | - data-locale-show-full-screen="{{ctx.Locale.Tr "show_full_screen"}}" |
29 | | - data-locale-download-logs="{{ctx.Locale.Tr "download_logs"}}" |
30 | | - > |
31 | | - </div> |
| 5 | + {{template "repo/actions/view_component" (dict |
| 6 | + "RunIndex" .RunIndex |
| 7 | + "JobIndex" .JobIndex |
| 8 | + "ActionsURL" .ActionsURL |
| 9 | + )}} |
32 | 10 | </div> |
33 | 11 |
|
34 | 12 | {{template "base/footer" .}} |
0 commit comments