2013-02-13 10:25:09 +00:00
|
|
|
- subjects_name = action_name.to_s
|
|
|
|
|
|
|
|
%h3= t("layout.projects.#{subjects_name}")
|
2013-02-22 08:03:48 +00:00
|
|
|
- if subject.blank?
|
2013-02-13 10:25:09 +00:00
|
|
|
%p= t("layout.projects.no_#{subjects_name}")
|
|
|
|
- elsif subject.count == 1
|
2013-02-13 17:06:37 +00:00
|
|
|
%p= t("layout.projects.showing_#{subjects_name.singularize}")
|
2013-02-13 10:25:09 +00:00
|
|
|
- else
|
|
|
|
%p= t("layout.projects.showing_#{subjects_name}", :count => subject.count)
|
|
|
|
.both
|