{{/* SPDX-License-Identifier: AGPL-3.0-only SPDX-FileContributor: Runxi Yu */}} {{- define "repo_contrib_one" -}} {{ template "head_common" . }} Merge requests – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} {{ template "header" . }}
Merge request info
ID {{ .mr_id }}
Status {{ .mr_status }}
Title {{ .mr_title }}
Source ref {{ .mr_source_ref }}
Destination branch {{ .mr_destination_branch }}
{{ $destination_commit := .destination_commit }} {{ $source_commit := .source_commit }} {{ range .file_patches }}
{{ range .Chunks }} {{ if eq .Operation 0 }}
{{ .Content }}
{{ else if eq .Operation 1 }}
{{ .Content }}
{{ else if eq .Operation 2 }}
{{ .Content }}
{{ else }}
{{ .Content }}
{{ end }} {{ end }}
{{ end }}
{{- end -}}