summaryrefslogtreecommitdiff
path: root/lib/gitlab/changelog/template.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/changelog/template.tpl')
-rw-r--r--lib/gitlab/changelog/template.tpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/gitlab/changelog/template.tpl b/lib/gitlab/changelog/template.tpl
new file mode 100644
index 00000000000..584939dff51
--- /dev/null
+++ b/lib/gitlab/changelog/template.tpl
@@ -0,0 +1,15 @@
+{% if categories %}
+{% each categories %}
+### {{ title }} ({% if single_change %}1 change{% else %}{{ count }} changes{% end %})
+
+{% each entries %}
+- [{{ title }}]({{ commit.reference }})\
+{% if author.contributor %} by {{ author.reference }}{% end %}\
+{% if merge_request %} ([merge request]({{ merge_request.reference }})){% end %}
+
+{% end %}
+
+{% end %}
+{% else %}
+No changes.
+{% end %}