Add volunteer count to All teams and translate
This commit is contained in:
parent
655713cef0
commit
33c2a1e83e
|
@ -20,6 +20,7 @@
|
||||||
= content_tag :li, role: "presentation", class: @filters[:volunteer_team_id].blank? ? 'active' : nil
|
= 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))
|
= link_to management_conference_volunteers_path(current_conference, filters: @filters.except(:volunteer_team_id))
|
||||||
= t '.all'
|
= t '.all'
|
||||||
|
span.badge.pull-right = current_conference.volunteers.count
|
||||||
- current_conference.volunteer_teams.each do |volunteer_team|
|
- 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
|
= 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}))
|
= link_to management_conference_volunteers_path(current_conference, filters: @filters.merge({volunteer_team_id: volunteer_team.id}))
|
||||||
|
|
|
@ -2,6 +2,7 @@ bg:
|
||||||
management:
|
management:
|
||||||
volunteers:
|
volunteers:
|
||||||
index:
|
index:
|
||||||
|
all: Всички
|
||||||
profile: Профил
|
profile: Профил
|
||||||
total: "%{current} от общо %{total}"
|
total: "%{current} от общо %{total}"
|
||||||
personal_profiles:
|
personal_profiles:
|
||||||
|
|
Loading…
Reference in New Issue