Retyle tag show page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-11-05 18:37:31 +01:00
parent 900419c43c
commit 3c0244d3d1
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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
.title
%strong= @tag.name
- if @tag.message.present? - if @tag.message.present?
.title %span.light
%strong= @tag.name &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 @@
= 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