summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 18:37:31 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 18:37:31 +0100
commit3c0244d3d1533dab3276465a63a26e0937aef543 (patch)
tree78461a90fe091f01715637d44ca8a0bd719cbb49 /app
parent900419c43c5a540cde22f5488675121b3ce05d31 (diff)
downloadgitlab-ce-3c0244d3d1533dab3276465a63a26e0937aef543.tar.gz
Retyle tag show page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/tags/show.html.haml24
1 files changed, 10 insertions, 14 deletions
diff --git a/app/views/projects/tags/show.html.haml b/app/views/projects/tags/show.html.haml
index 22697464fd2..f80ba5516a0 100644
--- a/app/views/projects/tags/show.html.haml
+++ b/app/views/projects/tags/show.html.haml
@@ -16,14 +16,17 @@
.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
%i.fa.fa-trash-o
- - if @tag.message.present?
- .title
- %strong= @tag.name
- = strip_gpg_signature(@tag.message)
+ .title
+ %strong= @tag.name
+ - if @tag.message.present?
+ %span.light
+ &nbsp;
+ = strip_gpg_signature(@tag.message)
+ - if @commit
+ = render 'projects/branches/commit', commit: @commit, project: @project
- else
- .oneline
- .title
- %strong= @tag.name
+ Cant find HEAD commit for this tag
+
.append-bottom-default.prepend-top-default
- if @release.description.present?
@@ -33,10 +36,3 @@
= markdown @release.description
- else
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
-