From c9b4eee4c589b8b40c02d0c96f887ec991580a24 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 6 Apr 2025 09:33:11 +0800 Subject: Restructure static/templates into forged --- templates/repo_contrib_one.tmpl | 123 ---------------------------------------- 1 file changed, 123 deletions(-) delete mode 100644 templates/repo_contrib_one.tmpl (limited to 'templates/repo_contrib_one.tmpl') diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl deleted file mode 100644 index a5f35d3..0000000 --- a/templates/repo_contrib_one.tmpl +++ /dev/null @@ -1,123 +0,0 @@ -{{/* - SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu -*/}} -{{- define "repo_contrib_one" -}} -{{- $root := . -}} - - - - {{- template "head_common" . -}} - Merge requests – {{ .repo_name }} – {{ template "group_path_plain" .group_path }} – {{ .global.forge_title -}} - - - {{- template "header" . -}} -
-

{{- .repo_name -}}

- -
-
-
- {{- .repo_description -}} -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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.Hash.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 -}} -- cgit v1.2.3