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