{{/* SPDX-License-Identifier: AGPL-3.0-only SPDX-FileContributor: Runxi Yu */}} {{- define "repo_contrib_one" -}} {{- template "head_common" . -}} Merge requests – {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .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 -}}
Merge base {{- .merge_base.ID.String -}}
{{- $merge_base := .merge_base -}} {{- $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 -}}