Merge pull request #287 from warpc/265-new_design_for_activity_feed
[Refs #265] fixed multiple "All my projects" and last project size
This commit is contained in:
commit
b99be18466
|
@ -3,7 +3,7 @@
|
|||
%h3= t("layout.activity_feed.my_last_projects")
|
||||
%table
|
||||
%tbody
|
||||
- current_user.projects.each do |project|
|
||||
- current_user.projects.order('updated_at DESC').limit(5).each do |project|
|
||||
%tr
|
||||
%td
|
||||
- if project.public?
|
||||
|
@ -12,11 +12,11 @@
|
|||
= image_tag("lock.png")
|
||||
%td
|
||||
= link_to "#{project.owner.uname}/#{project.name}", project_path(project)
|
||||
%tr
|
||||
%td
|
||||
\
|
||||
%td
|
||||
= link_to t("layout.activity_feed.all_my_projects"), projects_path
|
||||
%tr
|
||||
%td
|
||||
\
|
||||
%td
|
||||
= link_to t("layout.activity_feed.all_my_projects"), projects_path
|
||||
.block
|
||||
%h3= t("layout.activity_feed.my_builds_by_day")
|
||||
%table{:cellpadding => "0", :cellspacing => "0"}
|
||||
|
|
Loading…
Reference in New Issue