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
cbce4528
Commit
cbce4528
authored
Jul 22, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links to commits
parent
14c97237
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
16 deletions
+14
-16
app/views/commits/_commit.html.haml
app/views/commits/_commit.html.haml
+10
-11
app/views/events/_commit.html.haml
app/views/events/_commit.html.haml
+2
-2
app/views/refs/blame.html.haml
app/views/refs/blame.html.haml
+2
-3
No files found.
app/views/commits/_commit.html.haml
View file @
cbce4528
...
@@ -2,16 +2,15 @@
...
@@ -2,16 +2,15 @@
.browse_code_link_holder
.browse_code_link_holder
%p
%p
%strong
=
link_to
"Browse Code »"
,
tree_project_ref_path
(
@project
,
commit
.
id
),
:class
=>
"right"
%strong
=
link_to
"Browse Code »"
,
tree_project_ref_path
(
@project
,
commit
.
id
),
:class
=>
"right"
=
link_to
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
do
%p
%p
%code
.left
=
link_to
commit
.
short_id
,
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
%code
.left
=
commit
.
short_id
%strong
.cgray
=
commit
.
author_name
%strong
.cgray
=
commit
.
author_name
–
–
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
"avatar"
,
:width
=>
16
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
"avatar"
,
:width
=>
16
=
link_to
truncate
(
commit
.
title
,
:length
=>
50
),
project_commit_path
(
@project
,
:id
=>
commit
.
id
),
:class
=>
"row_title"
%span
.row_title
=
truncate
(
commit
.
title
,
:length
=>
50
)
%span
.committed_ago
%span
.committed_ago
=
time_ago_in_words
(
commit
.
committed_date
)
=
time_ago_in_words
(
commit
.
committed_date
)
ago
ago
app/views/events/_commit.html.haml
View file @
cbce4528
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
%li
.wll.commit
%li
.wll.commit
=
link_to
project_commit_path
(
project
,
:id
=>
commit
.
id
)
do
=
link_to
project_commit_path
(
project
,
:id
=>
commit
.
id
)
do
%p
%p
%code
.left
=
commit
.
short_id
%code
.left
=
link_to
commit
.
short_id
,
project_commit_path
(
project
,
:id
=>
commit
.
id
)
%strong
.cgray
=
commit
.
author_name
%strong
.cgray
=
commit
.
author_name
–
–
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
"avatar"
,
:width
=>
16
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
"avatar"
,
:width
=>
16
%span
.row_title
=
truncate
(
commit
.
title
,
:length
=>
50
)
rescue
"--broken encoding"
=
link_to
truncate
(
commit
.
title
,
:length
=>
50
),
project_commit_path
(
project
,
:id
=>
commit
.
id
),
:class
=>
"row_title"
rescue
"--broken encoding"
app/views/refs/blame.html.haml
View file @
cbce4528
...
@@ -32,9 +32,8 @@
...
@@ -32,9 +32,8 @@
=
commit
.
author_name
=
commit
.
author_name
%td
.blame_commit
%td
.blame_commit
=
link_to
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
do
%code
=
link_to
commit
.
short_id
,
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
%code
=
commit
.
short_id
=
link_to
truncate
(
commit
.
title
,
:length
=>
30
),
project_commit_path
(
@project
,
:id
=>
commit
.
id
),
:class
=>
"row_title"
rescue
"--broken encoding"
%span
.row_title
=
truncate
(
commit
.
title
,
:length
=>
30
)
rescue
"--broken encoding"
%td
.lines
%td
.lines
=
preserve
do
=
preserve
do
%pre
%pre
...
...
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