summaryrefslogtreecommitdiff
path: root/app/views/projects/tags
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-06 15:05:19 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-06 15:05:19 +0100
commit962b57df5a3f476407858b12455030d8cda66e4b (patch)
tree0e3145b7cbdc26a463d28d71ca075fc6d0405085 /app/views/projects/tags
parentb60ad399acdd753efe4f2d724c47800b6a70056b (diff)
downloadgitlab-ce-962b57df5a3f476407858b12455030d8cda66e4b.tar.gz
Small UI improvements to new git tag page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/tags')
-rw-r--r--app/views/projects/tags/new.html.haml14
1 files changed, 8 insertions, 6 deletions
diff --git a/app/views/projects/tags/new.html.haml b/app/views/projects/tags/new.html.haml
index 9b224ff89b0..be8f2e6f70e 100644
--- a/app/views/projects/tags/new.html.haml
+++ b/app/views/projects/tags/new.html.haml
@@ -5,9 +5,11 @@
.alert.alert-danger
%button{ type: "button", class: "close", "data-dismiss" => "alert"} &times;
= @error
+
%h3.page-title
- %i.fa.fa-code-fork
- New tag
+ New git tag
+%hr
+
= form_tag namespace_project_tags_path, method: :post, id: "new-tag-form", class: "form-horizontal tag-form" do
.form-group
= label_tag :tag_name, 'Name for new tag', class: 'control-label'
@@ -17,15 +19,15 @@
= label_tag :ref, 'Create from', class: 'control-label'
.col-sm-10
= text_field_tag :ref, params[:ref], placeholder: 'master', required: true, tabindex: 2, class: 'form-control'
- .light Branch name or commit SHA
+ .help-block 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.
+ .help-block (Optional) Entering a message will create an annotated tag.
%hr
.form-group
- = label_tag :release_description, 'Release description', class: 'control-label'
+ = label_tag :release_description, 'Release notes', class: 'control-label'
.col-sm-10
= render layout: 'projects/md_preview', locals: { preview_class: "md-preview", referenced_users: true } do
.zennable
@@ -39,7 +41,7 @@
= icon('compress')
= render 'projects/notes/hints'
- .help-block You can add release description to your tag. It will be stored in GitLab database and displayed on tags page
+ .help-block (Optional) You can add release notes to your tag. It will be stored in GitLab database and displayed on tags page
.form-actions
= button_tag 'Create tag', class: 'btn btn-create', tabindex: 3
= link_to 'Cancel', namespace_project_tags_path(@project.namespace, @project), class: 'btn btn-cancel'