From be74338d9f5ccf5847b713a3df5920f800a88c8d Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Mon, 13 Nov 2017 16:30:42 +0100 Subject: [PATCH] add explanation when copying custom repositories --- app/views/repositories/_copy_repository_modal.html.erb | 1 + config/locales/en.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/repositories/_copy_repository_modal.html.erb b/app/views/repositories/_copy_repository_modal.html.erb index 8d01d60d4..d7e86aab5 100644 --- a/app/views/repositories/_copy_repository_modal.html.erb +++ b/app/views/repositories/_copy_repository_modal.html.erb @@ -16,6 +16,7 @@
<%= f.text_field :name, label: t("repositories.index.modal_copy.name"), + help: t("repositories.index.modal_copy.description"), autofocus: true, placeholder: t("repositories.index.modal_copy.name_placeholder") %>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 0ebb3e5e1..d3c74c52a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -884,6 +884,7 @@ en: modal_copy: title_html: "Copy repository %{name}" name: "New repository name" + description: "Only the structure of the repository is going to be copied." name_placeholder: "My repository" copy: "Copy repository" modal_create: