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
Jérome Perrin
gitlab-ce
Commits
31a9d653
Commit
31a9d653
authored
Nov 05, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commits notes under diff. tab removed
parent
5eecbfdb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
22 deletions
+9
-22
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+4
-3
app/views/commits/show.html.haml
app/views/commits/show.html.haml
+5
-19
No files found.
app/assets/stylesheets/projects.css.scss
View file @
31a9d653
...
@@ -52,7 +52,8 @@
...
@@ -52,7 +52,8 @@
background
:
#eee
;
background
:
#eee
;
}
}
.diff_file_content
{
.diff_file_content
{
overflow-x
:
scroll
;
overflow
:auto
;
overflow-y
:hidden
;
background
:
#fff
;
background
:
#fff
;
color
:
#333
;
color
:
#333
;
font-size
:
12px
;
font-size
:
12px
;
...
@@ -174,9 +175,9 @@ a {
...
@@ -174,9 +175,9 @@ a {
.old_line
,
.new_line
{
.old_line
,
.new_line
{
background
:
#ECECEC
;
background
:
#ECECEC
;
color
:
#777
;
color
:
#777
;
width
:
15
px
;
width
:
30
px
;
float
:left
;
float
:left
;
padding
:
0px
10
px
;
padding
:
0px
5
px
;
border-right
:
1px
solid
#ccc
;
border-right
:
1px
solid
#ccc
;
}
}
}
}
...
...
app/views/commits/show.html.haml
View file @
31a9d653
%h3
%h3
=
"[
#{
@commit
.
committer
}
]
#{
truncate
(
@commit
.
safe_message
)
}
"
=
"[
#{
@commit
.
author_name
}
]
#{
truncate
(
@commit
.
safe_message
,
:length
=>
70
)
}
"
-#= link_to 'Back', project_commits_path(@project), :class => "button"
-#= link_to 'Back', project_commits_path(@project), :class => "button"
%table
.round-borders
%table
.round-borders
%tr
%tr
...
@@ -8,12 +8,9 @@
...
@@ -8,12 +8,9 @@
%tr
%tr
%td
Author
%td
Author
%td
=
@commit
.
author_name
%td
=
@commit
.
author_name
%tr
%td
Commiter
%td
=
@commit
.
committer
%tr
%tr
%td
Commited Date
%td
Commited Date
%td
=
@commit
.
committed_date
%td
=
@commit
.
committed_date
.
stamp
(
"21 Aug 2011, 11:15pm"
)
%tr
%tr
%td
Message
%td
Message
%td
%td
...
@@ -24,18 +21,7 @@
...
@@ -24,18 +21,7 @@
%td
=
link_to
'Browse Code'
,
tree_project_path
(
@project
,
:commit_id
=>
@commit
.
id
)
%td
=
link_to
'Browse Code'
,
tree_project_path
(
@project
,
:commit_id
=>
@commit
.
id
)
.clear
.clear
#tabs
%br
%ul
%li
%a
{
:href
=>
"#tabs-1"
}
Diff
%li
%a
{
:href
=>
"#tabs-2"
}
Comments
%span
{
:class
=>
"notes_count"
}=
@notes
.
count
%hr
#tabs-1
=
render
"commits/diff"
#tabs-2
=
render
"notes/notes"
:javascript
=
render
"commits/diff"
$
(
function
()
{
$
(
"
#tabs
"
).
tabs
();
});
=
render
"notes/notes"
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