rosa-build/app/views/projects/git/trees/_header.html.haml

10 lines
326 B
Plaintext
Raw Normal View History

2013-02-13 10:25:09 +00:00
- subjects_name = action_name.to_s
%h3= t("layout.projects.#{subjects_name}")
- if subject.blank?
2013-02-13 10:25:09 +00:00
%p= t("layout.projects.no_#{subjects_name}")
- elsif subject.count == 1
%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