app/helpers/dashboard_helper.rb in woople-theme-0.6.12 vs app/helpers/dashboard_helper.rb in woople-theme-0.6.13
- old
+ new
@@ -2,9 +2,13 @@
def status_alert(color, description)
render partial: 'woople-theme/dashboard/status_alert',
object: ThemePresentation.wrap({ color: color, description: description }, WoopleTheme::Dashboard::StatusAlertPresenter)
end
+ def user_and_status(data)
+ render partial: 'woople-theme/dashboard/user_and_status', object: ThemePresentation.wrap(data, WoopleTheme::Dashboard::UserAndStatusPresenter)
+ end
+
def essentials_section(presenter)
render partial: 'woople-theme/dashboard/essentials_section',
object: ThemePresentation.wrap(presenter, WoopleTheme::Dashboard::EssentialsSectionPresenter)
end