Открыть боковую панель
nt_test121
nt_project_o05vkt1w9peb
Коммиты
7b258903
Коммит
7b258903
создал
Май 07, 2017
по автору
Sam Rose
Просмотр файлов
Keep input data after creating existing tag
владелец
8b9cd3c0
Изменения
3
Скрыть пробелы
Построчно
Рядом
app/views/projects/_zen.html.haml
Просмотр файла @
7b258903
...
...
@@ -5,6 +5,6 @@
-
if
defined?
(
f
)
&&
f
=
f
.
text_area
attr
,
class:
classes
,
placeholder:
placeholder
,
data:
{
supports_slash_commands:
supports_slash_commands
}
-
else
=
text_area_tag
attr
,
nil
,
class:
classes
,
placeholder:
placeholder
=
text_area_tag
attr
,
text
,
class:
classes
,
placeholder:
placeholder
%a
.zen-control.zen-control-leave.js-zen-leave
{
href:
"#"
}
=
icon
(
'compress'
)
app/views/projects/tags/new.html.haml
Просмотр файла @
7b258903
...
...
@@ -22,14 +22,14 @@
.form-group
=
label_tag
:message
,
nil
,
class:
'control-label'
.col-sm-10
=
text_area_tag
:message
,
nil
,
required:
false
,
tabindex:
3
,
class:
'form-control'
,
rows:
5
=
text_area_tag
:message
,
params
[
:message
]
,
required:
false
,
tabindex:
3
,
class:
'form-control'
,
rows:
5
.help-block
Optionally, add a message to the tag.
%hr
.form-group
=
label_tag
:release_description
,
'Release notes'
,
class:
'control-label'
.col-sm-10
=
render
layout:
'projects/md_preview'
,
locals:
{
url:
preview_markdown_path
(
@project
),
referenced_users:
true
}
do
=
render
'projects/zen'
,
attr: :release_description
,
classes:
'note-textarea'
,
placeholder:
"Write your release notes or drag files here..."
=
render
'projects/zen'
,
attr: :release_description
,
classes:
'note-textarea'
,
placeholder:
"Write your release notes or drag files here..."
,
text:
params
[
:release_description
]
=
render
'shared/notes/hints'
.help-block
Optionally, add release notes to the tag. They will be stored in the GitLab database and displayed on the tags page.
.form-actions
...
...
changelogs/unreleased/31625-tag-editor-loses-all-inputs-when-you-try-to-add-a-tag-that-already-exists.yml
0 → 100644
Просмотр файла @
7b258903
---
title
:
Keep input data after creating a tag that already exists
merge_request
:
11155
author
:
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать