Commit 3c0244d3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Retyle tag show page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 900419c4
...@@ -16,14 +16,17 @@ ...@@ -16,14 +16,17 @@
.pull-right .pull-right
= link_to namespace_project_tag_path(@project.namespace, @project, @tag.name), class: 'btn btn-remove remove-row grouped', method: :delete, data: { confirm: 'Removed tag cannot be restored. Are you sure?'} do = link_to namespace_project_tag_path(@project.namespace, @project, @tag.name), class: 'btn btn-remove remove-row grouped', method: :delete, data: { confirm: 'Removed tag cannot be restored. Are you sure?'} do
%i.fa.fa-trash-o %i.fa.fa-trash-o
- if @tag.message.present?
.title .title
%strong= @tag.name %strong= @tag.name
- if @tag.message.present?
%span.light
&nbsp;
= strip_gpg_signature(@tag.message) = strip_gpg_signature(@tag.message)
- if @commit
= render 'projects/branches/commit', commit: @commit, project: @project
- else - else
.oneline Cant find HEAD commit for this tag
.title
%strong= @tag.name
.append-bottom-default.prepend-top-default .append-bottom-default.prepend-top-default
- if @release.description.present? - if @release.description.present?
...@@ -33,10 +36,3 @@ ...@@ -33,10 +36,3 @@
= markdown @release.description = markdown @release.description
- else - else
This tag has no release notes yet. Press edit button to add one This tag has no release notes yet. Press edit button to add one
.gray-content-block.second-block
- if @commit
= render 'projects/commits/commit', commit: @commit, project: @project
- else
Cant find HEAD commit for this tag
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment