add links for events/conferences/submitters
This commit is contained in:
parent
6579b3220f
commit
fd43d4de11
7 changed files with 88 additions and 22 deletions
|
|
@ -11,8 +11,8 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td #{index + 1}
|
||||
%td #{registration.name}
|
||||
%td #{registration.conference.title}
|
||||
%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
|
||||
|
|
|
|||
|
|
@ -12,9 +12,12 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td #{index + 1}
|
||||
%td #{event.submitter.name}
|
||||
%td #{event.title}
|
||||
%td #{event.conference.title}
|
||||
- if event.submitter
|
||||
%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
|
||||
.span{'class'=>label_for(event.state)} #{event.state.humanize}
|
||||
- else
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
%tbody
|
||||
%tr
|
||||
%td #{index}
|
||||
%td #{user.email}
|
||||
%td= link_to "#{user.email}", admin_user_path(user.id)
|
||||
%td #{user.created_at.strftime('%m/%d/%Y')}
|
||||
%td
|
||||
- if user.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
|
||||
#{key.name}
|
||||
= link_to "#{key.name}", admin_user_path(key)
|
||||
%div
|
||||
%small
|
||||
#{pluralize(value, 'submission')}
|
||||
= link_to "#{pluralize(value, 'submission')}", admin_user_path(key)
|
||||
- else
|
||||
%h4.text-warning
|
||||
No submissions!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue