Admin interface #6

Merged
ignisf merged 23 commits from admin-interface into master 2014-10-06 12:33:26 +03:00
4 changed files with 10 additions and 3 deletions
Showing only changes of commit 642eed9332 - Show all commits

View File

@ -19,6 +19,7 @@
br
span.subtitle
= suggestion.subtitle
td = suggestion.language
td = suggestion.track.name
td = suggestion.class.model_name.human
td.actions

View File

@ -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

View File

@ -68,3 +68,4 @@ bg:
of_motto: да споделим свободата
meta_data: "Език: %{language}, поток: „%{track}“, продължителност: %{length} мин."
suggestion_and_speaker_count: "%{suggestions} предложения от %{speakers} лектори"

View File

@ -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"