summaryrefslogtreecommitdiff
path: root/app/views/projects/tags
diff options
context:
space:
mode:
authorSean Edge <asedge@gmail.com>2014-06-23 21:35:36 -0400
committerSean Edge <asedge@gmail.com>2014-09-04 09:47:20 -0400
commit468b2e8e0b46e7a7cee7cc9d9ce9b5c22e79c467 (patch)
treec19de65b8133c26a38a9813b9c6c5be412842e75 /app/views/projects/tags
parent487f78be129d44ae3dc098c9bd17925975435097 (diff)
downloadgitlab-ce-468b2e8e0b46e7a7cee7cc9d9ce9b5c22e79c467.tar.gz
Added annotated tags. Updated tag haml file and call to gitlab-shell. Updated API for annotated tags. Added tests for API. Strip leading/trailing whitespace from message, if present. Update CHANGELOG.
Diffstat (limited to 'app/views/projects/tags')
-rw-r--r--app/views/projects/tags/new.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml
index f3a34d37df5..45ee61caf68 100644
--- a/app/views/projects/tags/new.html.haml
+++ b/app/views/projects/tags/new.html.haml
@@ -15,6 +15,11 @@
.col-sm-10
= text_field_tag :ref, params[:ref], placeholder: 'master', required: true, tabindex: 2, class: 'form-control'
.light Branch name or commit SHA
+ .form-group
+ = label_tag :message, 'Message', class: 'control-label'
+ .col-sm-10
+ = text_field_tag :message, nil, placeholder: 'Enter message.', required: false, tabindex: 3, class: 'form-control'
+ .light (Optional) Entering a message will create an annotated tag.
.form-actions
= submit_tag 'Create tag', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', project_tags_path(@project), class: 'btn btn-cancel'