From 7c89308ae4891085d59c6f85da77c5c13e0bd233 Mon Sep 17 00:00:00 2001
From: Achilleas Pipinellis <axilleas@axilleas.me>
Date: Fri, 2 Sep 2016 13:28:17 +0200
Subject: Move docs for template dropdowns to the new location

---
 .../img/web_editor_template_dropdown_buttons.png   | Bin 0 -> 14131 bytes
 .../web_editor_template_dropdown_first_file.png    | Bin 0 -> 25748 bytes
 .../web_editor_template_dropdown_mit_license.png   | Bin 0 -> 85413 bytes
 doc/user/project/repository/web_editor.md          |  24 +++++++++++++++++++++
 4 files changed, 24 insertions(+)
 create mode 100644 doc/user/project/repository/img/web_editor_template_dropdown_buttons.png
 create mode 100644 doc/user/project/repository/img/web_editor_template_dropdown_first_file.png
 create mode 100644 doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png

(limited to 'doc/user')

diff --git a/doc/user/project/repository/img/web_editor_template_dropdown_buttons.png b/doc/user/project/repository/img/web_editor_template_dropdown_buttons.png
new file mode 100644
index 00000000000..4efc51cc423
Binary files /dev/null and b/doc/user/project/repository/img/web_editor_template_dropdown_buttons.png differ
diff --git a/doc/user/project/repository/img/web_editor_template_dropdown_first_file.png b/doc/user/project/repository/img/web_editor_template_dropdown_first_file.png
new file mode 100644
index 00000000000..67190c58823
Binary files /dev/null and b/doc/user/project/repository/img/web_editor_template_dropdown_first_file.png differ
diff --git a/doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png b/doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png
new file mode 100644
index 00000000000..47719113805
Binary files /dev/null and b/doc/user/project/repository/img/web_editor_template_dropdown_mit_license.png differ
diff --git a/doc/user/project/repository/web_editor.md b/doc/user/project/repository/web_editor.md
index ee8e7862572..7c041d019bb 100644
--- a/doc/user/project/repository/web_editor.md
+++ b/doc/user/project/repository/web_editor.md
@@ -25,6 +25,29 @@ When you are satisfied with your new file, click **Commit Changes** at the botto
 
 ![Create file editor](img/web_editor_new_file_editor.png)
 
+### Template dropdowns
+
+When starting a new project, there are some common files which the new project
+might need too. Therefore a message will be displayed by GitLab to make this
+easy for you.
+
+![First file for your project](img/web_editor_template_dropdown_first_file.png)
+
+When clicking on either `LICENSE` or `.gitignore`, a dropdown will be displayed
+to provide you with a template which might be suitable for your project.
+
+![MIT license selected](img/web_editor_template_dropdown_mit_license.png)
+
+The license, changelog, contribution guide, or `.gitlab-ci.yml` file could also
+be added through a button on the project page. In the example below the license
+has already been created, which creates a link to the license itself.
+
+![New file button](img/web_editor_template_dropdown_buttons.png)
+
+>**Note:**
+The **Set up CI** button will not appear on an empty repository. You have to at
+least add a file in order for the button to show up.
+
 ## Upload a file
 
 The ability to create a file is great when the content is text. However, this
@@ -147,5 +170,6 @@ you commit the changes you will be taken to a new merge request form.
 
 ![Start a new merge request with these changes](img/web_editor_start_new_merge_request.png)
 
+![New file button](basicsimages/file_button.png)
 [ce-2808]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2808
 [issue closing pattern]: ../customization/issue_closing.md
-- 
cgit v1.2.1