Better visibility of event commit links & commits ids
This commit is contained in:
parent
9a709f76be
commit
bc7897180d
6 changed files with 23 additions and 9 deletions
|
@ -337,6 +337,15 @@ p.time {
|
||||||
padding: 15px 5px;
|
padding: 15px 5px;
|
||||||
&:last-child { border:none }
|
&:last-child { border:none }
|
||||||
.wll:hover { background:none }
|
.wll:hover { background:none }
|
||||||
|
|
||||||
|
.event_commits {
|
||||||
|
margin-top: 5px;
|
||||||
|
|
||||||
|
li.commit {
|
||||||
|
padding:5px;
|
||||||
|
border:none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.ico {
|
.ico {
|
||||||
|
|
|
@ -18,7 +18,8 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.lined {
|
&.lined {
|
||||||
text-decoration:underlined;
|
text-decoration:underline;
|
||||||
|
&:hover { text-decoration:underline; }
|
||||||
}
|
}
|
||||||
|
|
||||||
&.gray {
|
&.gray {
|
||||||
|
|
|
@ -199,4 +199,11 @@
|
||||||
background:#FCEEC1;
|
background:#FCEEC1;
|
||||||
color:$style_color;
|
color:$style_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.commit_short_id {
|
||||||
|
float:left;
|
||||||
|
@extend .lined;
|
||||||
|
min-width:65px;
|
||||||
|
font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,15 +32,12 @@
|
||||||
|
|
||||||
p {
|
p {
|
||||||
padding-top:0;
|
padding-top:0;
|
||||||
|
padding-bottom:2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.avatar {
|
img.avatar {
|
||||||
width:32px;
|
width:32px;
|
||||||
margin-top:4px;
|
margin-top:4px;
|
||||||
}
|
}
|
||||||
.row_title {
|
|
||||||
padding:0px;
|
|
||||||
padding-bottom:2px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
%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"
|
||||||
%p
|
%p
|
||||||
%code.left= link_to commit.short_id, project_commit_path(@project, :id => commit.id)
|
= link_to commit.short_id(8), project_commit_path(@project, :id => commit.id), :class => "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
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
- commit = CommitDecorator.decorate(commit)
|
- commit = CommitDecorator.decorate(commit)
|
||||||
%li.wll.commit
|
%li.wll.commit
|
||||||
%p
|
%p
|
||||||
%code.left= link_to commit.short_id, project_commit_path(project, :id => commit.id)
|
= link_to commit.short_id(8), project_commit_path(project, :id => commit.id), :class => "commit_short_id"
|
||||||
%strong.cgray= commit.author_name
|
%strong.cdark= 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" rescue "--broken encoding"
|
= truncate(commit.title, :length => 50) rescue "--broken encoding"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue