app/admin/c80_estate/dashboard.rb in c80_estate-0.1.0.34 vs app/admin/c80_estate/dashboard.rb in c80_estate-0.1.0.35

- old
+ new

@@ -33,9 +33,21 @@ end end end + if current_admin_user.can_view_statistics? + section '' do + columns do + column do + panel "10 последних событий изменения статуса площадей (<a class='white_link' href='/admin/sevents'>Просмотреть все</a>)".html_safe do + render_table_last_sevents + end + end + end + end + end + # section '', if: -> { current_admin_user.email == 'tz007@mail.ru' } do # columns do # column do # panel 'Admin Features', class: 'clearfix' do # render_upload_areas_excel_form