diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 382ad4d1d..7ca4e5eec 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -35,7 +35,7 @@ def admin @user_content_cards = [ { title: "Bookmarks tally", path: tally_bookmarks_path, icon: "🔖", bg_color: "bg-gray-50", text_color: "text-gray-800" }, - { title: "Recent Activity", path: dashboard_recent_activities_path, icon: "🧭", + { title: "Recent portal activity", path: dashboard_recent_activities_path, icon: "🧭", bg_color: "bg-gray-50", text_color: "text-gray-800" }, { title: "Event Registrations", path: event_registrations_path, icon: "🎟️", bg_color: "bg-blue-100", text_color: "text-blue-800" }, @@ -80,7 +80,7 @@ def admin bg_color: "bg-gray-50", text_color: "text-gray-800" }, { title: "Organizations", path: projects_path, icon: "🏫", bg_color: "bg-gray-50", text_color: "text-gray-800" }, - { title: "Users", path: users_path, icon: "👥", + { title: "User accounts", path: users_path, icon: "👥", bg_color: "bg-gray-50", text_color: "text-gray-800" }, { title: "!!!Forms", path: authenticated_root_path, icon: "📋", bg_color: "bg-gray-50", text_color: "text-gray-800" }, diff --git a/app/views/dashboard/admin.html.erb b/app/views/dashboard/admin.html.erb index b4128710a..d18f7915b 100644 --- a/app/views/dashboard/admin.html.erb +++ b/app/views/dashboard/admin.html.erb @@ -22,7 +22,12 @@ <% end %> - <% @reference_cards.each do |card| %> + + + +
+ User-generated content + <% @user_content_cards.each do |card| %> - User-generated content - <% @user_content_cards.each do |card| %> +
+ Base data +
+ <% @reference_cards.each do |card| %>