Commit 29c41e9a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

pollishing UI

parent 6a445b42
...@@ -338,6 +338,7 @@ img.lil_av { ...@@ -338,6 +338,7 @@ img.lil_av {
.borders { .borders {
border: 1px solid #ccc; border: 1px solid #ccc;
@include shade;
} }
.well.padded { .well.padded {
......
...@@ -117,6 +117,7 @@ table.highlighttable .linenodiv pre { ...@@ -117,6 +117,7 @@ table.highlighttable .linenodiv pre {
cursor:pointer; cursor:pointer;
} }
.tree-item-file-name { .tree-item-file-name {
font-weight:bold; font-weight:bold;
a { a {
...@@ -166,3 +167,9 @@ table.highlighttable .linenodiv pre { ...@@ -166,3 +167,9 @@ table.highlighttable .linenodiv pre {
@include shade; @include shade;
margin-bottom:20px; margin-bottom:20px;
} }
a.tree-commit-link {
&:hover {
text-decoration: underline;
}
}
%li.wll.commit %li.wll.commit
.right.span2 .right.span2
= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "btn small right" %p
%strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right"
= 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.id.to_s[0..10] %code.left= commit.id.to_s[0..10]
%strong= 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= truncate(commit.safe_message, :length => 50) rescue "--broken encoding" %strong= truncate(commit.safe_message, :length => 50) rescue "--broken encoding"
%span.right.cgray %span.right.cgray
= time_ago_in_words(commit.committed_date) = time_ago_in_words(commit.committed_date)
......
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
= link_to project_issue_path(issue.project, issue) do = link_to project_issue_path(issue.project, issue) do
%p %p
Issue ##{issue.id}: %strong= truncate(issue.title, :length => 60)
= truncate(issue.title, :length => 50)
......
...@@ -11,5 +11,4 @@ ...@@ -11,5 +11,4 @@
%span.label= merge_request.target_branch %span.label= merge_request.target_branch
= link_to project_merge_request_path(merge_request.project, merge_request) do = link_to project_merge_request_path(merge_request.project, merge_request) do
%p %p
Merge Request ##{merge_request.id}: %strong= truncate(merge_request.title, :length => 60)
= truncate(merge_request.title, :length => 50)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment