clickable news feed on dashboard
This commit is contained in:
parent
367c4f42f0
commit
16bd018f08
1 changed files with 16 additions and 17 deletions
|
@ -21,6 +21,7 @@
|
||||||
Dashboard
|
Dashboard
|
||||||
- @active_projects.first(3).each do |project|
|
- @active_projects.first(3).each do |project|
|
||||||
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
.project-box.project-updates.ui-box.ui-box-small.ui-box-big
|
||||||
|
= link_to project, do
|
||||||
%h3= project.name
|
%h3= project.name
|
||||||
.data
|
.data
|
||||||
- project.updates(3).each do |update|
|
- project.updates(3).each do |update|
|
||||||
|
@ -36,5 +37,3 @@
|
||||||
.right
|
.right
|
||||||
- klass = update.class.to_s.split("::").last.downcase
|
- klass = update.class.to_s.split("::").last.downcase
|
||||||
%span.tag{ :class => klass }= klass
|
%span.tag{ :class => klass }= klass
|
||||||
/ #news-feed
|
|
||||||
/ #dashboard-content
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue