Skip to content
Snippets Groups Projects
Commit fe7bef3a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

squash commit summary in one sentence

parent ba33ed41
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -142,23 +142,6 @@ input[type=text] {
}
}
 
li.commit {
.avatar {
width: 24px;
top:-5px;
margin-right: 10px;
margin-left: 10px;
}
code {
padding: 2px 2px 0;
margin-top: -2px;
&:hover {
color: black;
border: 1px solid #ccc;
}
}
}
p.time {
color: #999;
font-size: 90%;
Loading
Loading
Loading
Loading
@@ -62,7 +62,6 @@
 
.ui-box-body {
border: none;
font-size: 12px;
background-color: #f5f5f5;
border: none;
border-top: 1px solid #eee;
Loading
Loading
Loading
Loading
@@ -441,3 +441,26 @@
.ui-box.commit-box {
margin-top: 0;
}
.commit-stat-summary {
color: #666;
line-height: 2;
}
li.commit {
.avatar {
width: 24px;
top:-5px;
margin-right: 5px;
margin-left: 10px;
}
code {
padding: 2px 2px 0;
margin-top: -2px;
&:hover {
color: black;
border: 1px solid #ccc;
}
}
}
= render "commit_box"
- unless @commit.has_zero_stats?
%p.pull-right.cgray
This commit has
%span.cgreen #{@commit.stats.additions} additions
and
%span.cred #{@commit.stats.deletions} deletions
= render "projects/commits/diffs", diffs: @commit.diffs
= render "projects/notes/notes_with_form"
Loading
Loading
@@ -7,8 +7,15 @@
But if you still want to see diff
= link_to "click this link", project_commit_path(@project, @commit, force_show_diff: true), class: "underlined_link"
 
%p.cgray
Showing #{pluralize(diffs.count, "changed file")}
%p.commit-stat-summary
Showing
%strong.cdark #{pluralize(diffs.count, "changed file")}
- if current_controller?(:commit)
- unless @commit.has_zero_stats?
with
%strong.cgreen #{@commit.stats.additions} additions
and
%strong.cred #{@commit.stats.deletions} deletions
.file-stats
= render "projects/commits/diff_head", diffs: diffs
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment