Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
1bde9277
Commit
1bde9277
authored
Jun 12, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle git tags page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
98416ec9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
21 deletions
+15
-21
app/assets/stylesheets/sections/projects.scss
app/assets/stylesheets/sections/projects.scss
+0
-5
app/views/projects/tags/_tag.html.haml
app/views/projects/tags/_tag.html.haml
+6
-9
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+8
-6
app/views/projects/tree/_tree.html.haml
app/views/projects/tree/_tree.html.haml
+1
-1
No files found.
app/assets/stylesheets/sections/projects.scss
View file @
1bde9277
...
...
@@ -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
;
...
...
app/views/projects/tags/_tag.html.haml
View file @
1bde9277
...
...
@@ -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"
–
=
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
app/views/projects/tags/index.html.haml
View file @
1bde9277
=
render
"projects/commits/head"
-
if
can?
current_user
,
:push_code
,
@project
%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
...
...
app/views/projects/tree/_tree.html.haml
View file @
1bde9277
...
...
@@ -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"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment