Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'
This commit is contained in:
parent
0b6550d060
commit
daf1f805bd
71 changed files with 225 additions and 191 deletions
18
app/views/admin/conferences/_top_submitter.html.haml
Normal file
18
app/views/admin/conferences/_top_submitter.html.haml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
.row
|
||||
.col-md-12
|
||||
%h3
|
||||
Top Submitter
|
||||
- if @top_submitter && !@top_submitter.empty?
|
||||
- @top_submitter.each do |key, value|
|
||||
.row.top-submitter
|
||||
.col-md-2
|
||||
= image_tag(key.gravatar_url(size: '25'), title: "Yo #{key.name}!", :alt => '', 'class'=>'img-circle img-responsive text-center')
|
||||
.col-md-10
|
||||
%h4
|
||||
= link_to key.name, admin_user_path(key)
|
||||
%div
|
||||
%small
|
||||
= link_to pluralize(value, 'submission'), admin_user_path(key, tab: 'submissions-content')
|
||||
- else
|
||||
%h4.text-warning
|
||||
No submissions!
|
||||
Loading…
Add table
Add a link
Reference in a new issue