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