Increase event title font size on dashboard activity feed
This commit is contained in:
parent
5b06c9a73b
commit
f4ae433d90
|
@ -35,6 +35,7 @@
|
|||
.event-title {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
.author_name {
|
||||
color: #333;
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ class Event < ActiveRecord::Base
|
|||
if closed?
|
||||
"closed"
|
||||
elsif merged?
|
||||
"merged"
|
||||
"accepted"
|
||||
elsif joined?
|
||||
'joined'
|
||||
elsif left?
|
||||
|
|
|
@ -2,11 +2,15 @@
|
|||
%span.author_name= link_to_author event
|
||||
%span.event_label{class: event.action_name}= event_action_name(event)
|
||||
- if event.target
|
||||
%strong= link_to_gfm truncate(event.target_title), [event.project, event.target]
|
||||
%strong= link_to "##{event.target_id}", [event.project, event.target]
|
||||
- else
|
||||
%strong= gfm truncate(event.target_title)
|
||||
%strong= gfm event.target_title
|
||||
at
|
||||
- if event.project
|
||||
= link_to_project event.project
|
||||
- else
|
||||
= event.project_name
|
||||
.event-body
|
||||
.event-note
|
||||
- if event.target.respond_to?(:title)
|
||||
= event.target.title
|
||||
|
|
Loading…
Reference in New Issue