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