Add volunteer count to All teams and translate

This commit is contained in:
Petko Bordjukov 2016-10-09 15:15:29 +03:00
parent 655713cef0
commit 33c2a1e83e
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@
= content_tag :li, role: "presentation", class: @filters[:volunteer_team_id].blank? ? 'active' : nil
= link_to management_conference_volunteers_path(current_conference, filters: @filters.except(:volunteer_team_id))
= t '.all'
span.badge.pull-right = current_conference.volunteers.count
- current_conference.volunteer_teams.each do |volunteer_team|
= content_tag :li, role: "presentation", class: @filters[:volunteer_team_id] == volunteer_team.id.to_s ? 'active' : nil
= link_to management_conference_volunteers_path(current_conference, filters: @filters.merge({volunteer_team_id: volunteer_team.id}))

View File

@ -2,6 +2,7 @@ bg:
management:
volunteers:
index:
all: Всички
profile: Профил
total: "%{current} от общо %{total}"
personal_profiles: