Commit f4ae433d authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Increase event title font size on dashboard activity feed

parent 5b06c9a7
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
.event-title { .event-title {
color: #333; color: #333;
font-weight: bold; font-weight: bold;
font-size: 14px;
.author_name { .author_name {
color: #333; color: #333;
} }
......
...@@ -134,7 +134,7 @@ class Event < ActiveRecord::Base ...@@ -134,7 +134,7 @@ class Event < ActiveRecord::Base
if closed? if closed?
"closed" "closed"
elsif merged? elsif merged?
"merged" "accepted"
elsif joined? elsif joined?
'joined' 'joined'
elsif left? elsif left?
......
...@@ -2,11 +2,15 @@ ...@@ -2,11 +2,15 @@
%span.author_name= link_to_author event %span.author_name= link_to_author event
%span.event_label{class: event.action_name}= event_action_name(event) %span.event_label{class: event.action_name}= event_action_name(event)
- if event.target - 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 - else
%strong= gfm truncate(event.target_title) %strong= gfm event.target_title
at at
- if event.project - if event.project
= link_to_project event.project = link_to_project event.project
- else - else
= event.project_name = event.project_name
.event-body
.event-note
- if event.target.respond_to?(:title)
= event.target.title
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