Add speaker counts and language to table
This commit is contained in:
parent
2cc50622d4
commit
642eed9332
|
@ -19,6 +19,7 @@
|
|||
br
|
||||
span.subtitle
|
||||
= suggestion.subtitle
|
||||
td = suggestion.language
|
||||
td = suggestion.track.name
|
||||
td = suggestion.class.model_name.human
|
||||
td.actions
|
||||
|
|
|
@ -1,12 +1,16 @@
|
|||
.row
|
||||
.panel.panel-primary
|
||||
.panel-heading
|
||||
h3.panel-title = Event.model_name.human(count: 2)
|
||||
h3.panel-title
|
||||
= Event.model_name.human(count: 2)
|
||||
span.pull-right
|
||||
= t(:suggestion_and_speaker_count, suggestions: @suggestion_groups.map(&:suggestions).flatten.count, speakers: @suggestion_groups.count)
|
||||
table.record-table
|
||||
thead
|
||||
tr
|
||||
th.picture = Event.human_attribute_name(:user)
|
||||
th = Event.human_attribute_name(:title)
|
||||
th = Event.human_attribute_name(:language)
|
||||
th = Track.model_name.human
|
||||
th = Event.human_attribute_name(:type)
|
||||
th.actions
|
||||
|
|
|
@ -68,3 +68,4 @@ bg:
|
|||
of_motto: да споделим свободата
|
||||
|
||||
meta_data: "Език: %{language}, поток: „%{track}“, продължителност: %{length} мин."
|
||||
suggestion_and_speaker_count: "%{suggestions} предложения от %{speakers} лектори"
|
|
@ -66,3 +66,4 @@ en:
|
|||
|
||||
of_motto: share the freedom
|
||||
meta_data: "Language: %{language}, track: \"%{track}\", length: %{length} min."
|
||||
suggestion_and_speaker_count: "%{suggestions} suggestions by %{speakers} speakers"
|
Loading…
Reference in New Issue