Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-08-17 15:27:18 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-08-18 09:14:06 +0300
commita6985c77e03daea9af0077eb219cdb58724e29d2 (patch)
tree6377d1335b3bdf745802b269e477199fd159527f /doc
parent163c4f5658d0b58dd5925936b3b5498adcf60fb7 (diff)
Add new image to show the 'Reset template' button
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/description_templates.md11
-rw-r--r--doc/user/project/img/description_templates.pngbin57670 -> 20444 bytes
2 files changed, 6 insertions, 5 deletions
diff --git a/doc/user/project/description_templates.md b/doc/user/project/description_templates.md
index 5f1cd126425..ea7496af089 100644
--- a/doc/user/project/description_templates.md
+++ b/doc/user/project/description_templates.md
@@ -1,6 +1,6 @@
# Description templates
->**Note:** [Introduced][ce-4981] in GitLab 8.11.
+>[Introduced][ce-4981] in GitLab 8.11.
Description templates allow you to define context-specific templates for issue
and merge request description fields for your project.
@@ -31,10 +31,11 @@ push to your default branch.
## Using the templates
-Let's take for example that you have created the file `.gitlab/issue_templates/bug.md`.
-This will enable the `bug` dropdown option when creating or editing issues. When
-`bug` is selected, the content from the `bug.md` template file will be copied
-to the issue description field.
+Let's take for example that you've created the file `.gitlab/issue_templates/Bug.md`.
+This will enable the `Bug` dropdown option when creating or editing issues. When
+`Bug` is selected, the content from the `Bug.md` template file will be copied
+to the issue description field. The 'Reset template' button will discard any
+changes you made after picking the template and return it to its initial status.
![Description templates](img/description_templates.png)
diff --git a/doc/user/project/img/description_templates.png b/doc/user/project/img/description_templates.png
index af2e9403826..c41cc77a94c 100644
--- a/doc/user/project/img/description_templates.png
+++ b/doc/user/project/img/description_templates.png
Binary files differ