Commit 4e474028 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed project last_activity. Links color changed a bit

parent 793db070
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
} }
&.btn-primary { &.btn-primary {
background:$link_color; background:#2a79A3;
border-color: #2A79A3; border-color: #2A79A3;
&:hover { &:hover {
background:$blue_link; background:$blue_link;
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
@import "bootstrap-responsive"; @import "bootstrap-responsive";
/** GITLAB colors **/ /** GITLAB colors **/
$link_color:#2A79A3; $link_color:#3A89A3;
$blue_link: #2fa0bb; $blue_link: #2fa0bb;
$style_color: #474D57; $style_color: #474d57;
$hover: #FDF5D9; $hover: #fdf5d9;
/** GITLAB Fonts **/ /** GITLAB Fonts **/
@font-face { font-family: Korolev; src: url('korolev-medium-compressed.otf'); } @font-face { font-family: Korolev; src: url('korolev-medium-compressed.otf'); }
......
...@@ -158,7 +158,7 @@ class Project < ActiveRecord::Base ...@@ -158,7 +158,7 @@ class Project < ActiveRecord::Base
end end
def last_activity def last_activity
events.last || nil events.order("created_at DESC").first || nil
end end
def last_activity_date def last_activity_date
......
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