Restyle git tags page

Signed-off-by: Dmytro Zaporozhets's avatarDmitriy Zaporozhets <[email protected]>
parent 98416ec9
......@@ -179,11 +179,6 @@ ul.nav.nav-projects-tabs {
font-weight: normal;
}
.new-tag-btn {
position: relative;
top: -5px;
}
.public-projects .repo-info {
color: #777;
......
......@@ -5,18 +5,15 @@
%i.icon-tag
= tag.name
.pull-right
%small.cdark
%i.icon-calendar
#{time_ago_with_tooltip(commit.committed_date)}
%p.prepend-left-20
= link_to commit.short_id(8), project_commit_path(@project, commit), class: "monospace"
&ndash;
= link_to_gfm truncate(commit.title, length: 70), project_commit_path(@project, commit.id), class: "cdark"
%span.pull-right
- if can? current_user, :download_code, @project
= render 'projects/repositories/download_archive', ref: tag.name, btn_class: 'btn-grouped btn-group-small'
- if can?(current_user, :admin_project, @project)
= link_to project_tag_path(@project, tag.name), class: 'btn btn-small btn-remove remove-row grouped', method: :delete, data: { confirm: 'Removed tag cannot be restored. Are you sure?'}, remote: true do
%i.icon-trash
- if commit
%ul.list-unstyled
= render 'projects/commits/inline_commit', commit: commit, project: @project
- else
%p
Cant find HEAD commit for this tag
= render "projects/commits/head"
- if can? current_user, :push_code, @project
.pull-right
= link_to new_project_tag_path(@project), class: 'btn btn-create new-tag-btn' do
%i.icon-add-sign
New tag
%h3.page-title
Git Tags
- if can? current_user, :push_code, @project
.pull-right
= link_to new_project_tag_path(@project), class: 'btn btn-create new-tag-btn' do
%i.icon-add-sign
New tag
%p
%p.light
Tags give the ability to mark specific points in history as being important
%hr
......
......@@ -12,7 +12,7 @@
%li
= link_to project_new_tree_path(@project, @id), title: 'New file', id: 'new-file-link' do
%small
%i.icon-plus.light
%i.icon-plus
%div#tree-content-holder.tree-content-holder
%table#tree-slider{class: "table_#{@hex_path} tree-table" }
......
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