Fixed project last_activity. Links color changed a bit
This commit is contained in:
parent
793db070f0
commit
4e47402852
|
@ -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 @@
|
||||||
@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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue