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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3df5fee4
Commit
3df5fee4
authored
Apr 05, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restyle tags page
parent
0da5a4fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
24 deletions
+23
-24
app/assets/stylesheets/gitlab_bootstrap/common.scss
app/assets/stylesheets/gitlab_bootstrap/common.scss
+1
-0
app/views/repositories/tags.html.haml
app/views/repositories/tags.html.haml
+22
-24
No files found.
app/assets/stylesheets/gitlab_bootstrap/common.scss
View file @
3df5fee4
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
.append-bottom-20
{
margin-bottom
:
20px
}
.append-bottom-20
{
margin-bottom
:
20px
}
.prepend-top-10
{
margin-top
:
10px
}
.prepend-top-10
{
margin-top
:
10px
}
.prepend-top-20
{
margin-top
:
20px
}
.prepend-top-20
{
margin-top
:
20px
}
.prepend-left
{
margin-left
:
20px
}
.padded
{
padding
:
20px
}
.padded
{
padding
:
20px
}
.ipadded
{
padding
:
20px
!
important
}
.ipadded
{
padding
:
20px
!
important
}
.lborder
{
border-left
:
1px
solid
#eee
}
.lborder
{
border-left
:
1px
solid
#eee
}
...
...
app/views/repositories/tags.html.haml
View file @
3df5fee4
=
render
"commits/head"
=
render
"commits/head"
-
unless
@tags
.
empty?
-
unless
@tags
.
empty?
%table
%ul
.bordered-list
%thead
%tr
%th
Name
%th
Last commit
%th
-
@tags
.
each
do
|
tag
|
-
@tags
.
each
do
|
tag
|
-
commit
=
Commit
.
new
(
Gitlab
::
Git
::
Commit
.
new
(
tag
.
commit
))
-
commit
=
Commit
.
new
(
Gitlab
::
Git
::
Commit
.
new
(
tag
.
commit
))
%tr
%li
%td
%h5
%strong
=
link_to
project_commits_path
(
@project
,
tag
.
name
),
class:
""
do
=
link_to
project_commits_path
(
@project
,
tag
.
name
),
class:
""
do
%i
.icon-tag
%i
.icon-tag
=
tag
.
name
=
tag
.
name
%small
%small
.light
=
truncate
(
tag
.
message
||
''
,
length:
70
)
=
truncate
(
tag
.
message
||
''
,
length:
70
)
%td
.pull-right
=
image_tag
gravatar_icon
(
commit
.
author_email
),
class:
"avatar s16"
%span
.light
=
link_to
project_commit_path
(
@project
,
commit
.
id
),
class:
'commit_short_id'
do
=
time_ago_in_words
(
commit
.
committed_date
)
=
commit
.
short_id
ago
%span
.light
%div
.prepend-left
=
time_ago_in_words
(
commit
.
committed_date
)
=
link_to
commit
.
short_id
(
8
),
project_commit_path
(
@project
,
commit
),
class:
"monospace"
ago
–
%td
=
link_to_gfm
truncate
(
commit
.
title
,
length:
70
),
project_commit_path
(
@project
,
commit
.
id
),
class:
"cdark"
-
if
can?
current_user
,
:download_code
,
@project
-
if
can?
current_user
,
:download_code
,
@project
=
link_to
archive_project_repository_path
(
@project
,
ref:
tag
.
name
)
do
.pull-right
%i
.icon-download-alt
=
link_to
archive_project_repository_path
(
@project
,
ref:
tag
.
name
)
do
Download
%i
.icon-download-alt
Download
-
else
-
else
%h3
.nothing_here_message
%h3
.nothing_here_message
...
...
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