mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
Implements recent items tabs and top submitter for dashboard
This commit is contained in:
parent
25a1c116fd
commit
28293cb4c4
11 changed files with 186 additions and 1 deletions
21
app/views/admin/conference/_recent_submissions.html.haml
Normal file
21
app/views/admin/conference/_recent_submissions.html.haml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
- if recent_events && !recent_events.empty?
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th #
|
||||
%th Submitter
|
||||
%th Title
|
||||
%th Conference
|
||||
%th Status
|
||||
- recent_events.each_with_index do |event, index|
|
||||
%tbody
|
||||
%tr
|
||||
%td #{index + 1}
|
||||
%td #{event.submitter}
|
||||
%td #{event.title}
|
||||
%td #{event.conference.title}
|
||||
%td
|
||||
.span{'class'=>label_for(event.public_state)} #{event.public_state}
|
||||
- else
|
||||
%h5.text-warning.text-center
|
||||
No submissions!
|
||||
Loading…
Add table
Add a link
Reference in a new issue