fixes from comments
This commit is contained in:
parent
d7c7d878f2
commit
5a1dae866a
7 changed files with 23 additions and 34 deletions
|
|
@ -10,10 +10,10 @@
|
|||
- recent_registrations.each_with_index do |registration, index|
|
||||
%tbody
|
||||
%tr
|
||||
%td #{index + 1}
|
||||
%td= link_to "#{registration.name}", admin_user_path(registration.user.id)
|
||||
%td= link_to "#{registration.conference.title}", admin_conference_path(registration.conference.short_title)
|
||||
%td #{registration.created_at.strftime('%m/%d/%Y')}
|
||||
%td= index + 1
|
||||
%td= link_to registration.name, admin_user_path(registration.user.id)
|
||||
%td= link_to registration.conference.title, admin_conference_path(registration.conference.short_title)
|
||||
%td= registration.created_at.strftime('%m/%d/%Y')
|
||||
- else
|
||||
%h5.text-warning.text-center
|
||||
No registrations!
|
||||
|
|
|
|||
|
|
@ -11,13 +11,13 @@
|
|||
- recent_events.each_with_index do |event, index|
|
||||
%tbody
|
||||
%tr
|
||||
%td #{index + 1}
|
||||
%td= index + 1
|
||||
- if event.submitter
|
||||
%td= link_to "#{event.submitter.name}", admin_user_path(event.submitter.id)
|
||||
%td= link_to event.submitter.name, admin_user_path(event.submitter.id)
|
||||
- else
|
||||
%td Unknown Submitter
|
||||
%td= link_to "#{event.title}", admin_conference_event_path(event.conference.short_title, event)
|
||||
%td= link_to "#{event.conference.title}", admin_conference_path(event.conference.short_title)
|
||||
%td= link_to event.title, admin_conference_event_path(event.conference.short_title, event)
|
||||
%td= link_to event.conference.title, admin_conference_path(event.conference.short_title)
|
||||
%td
|
||||
.span{'class'=>label_for(event.state)} #{event.state.humanize}
|
||||
- else
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@
|
|||
- recent_users.each_with_index do |user, index|
|
||||
%tbody
|
||||
%tr
|
||||
%td #{index}
|
||||
%td= link_to "#{user.email}", admin_user_path(user.id)
|
||||
%td #{user.created_at.strftime('%m/%d/%Y')}
|
||||
%td= index + 1
|
||||
%td= link_to user.email, admin_user_path(user.id)
|
||||
%td= user.created_at.strftime('%m/%d/%Y')
|
||||
%td
|
||||
- if user.confirmed?
|
||||
%span.label.label-success Confirmed
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
= 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)
|
||||
= link_to key.name, admin_user_path(key)
|
||||
%div
|
||||
%small
|
||||
= link_to "#{pluralize(value, 'submission')}", admin_user_path(key)
|
||||
= 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