- Pages for this universe
+ Pages for The Great Universe
+ <%= link_to 'change universe', main_app.customization_content_types_path, class: "text-xs #{Universe.text_color} ml-4" %>
<%= link_to 'customize active pages', main_app.customization_content_types_path %>
@@ -37,31 +38,34 @@
Recently-edited pages
- -
- Category One Sublink
-
- -
- Category One Sublink
-
- -
- Category One Sublink
-
- -
- Category One Sublink
-
- -
- Category One Sublink
-
+
+ <% @recently_edited_pages.each do |content| %>
+ <% content_class = content_class_from_name(content.page_type) %>
+
-
+ <%= link_to main_app.send("#{content.page_type.downcase}_path", content.id), class: "block px-3 pb-2 hover:bg-notebook-blue #{content.text_color} hover:text-white" do %>
+ <%= content_class.icon %>
+ <%= content.name %>
+ <%= time_ago_in_words content.updated_at %> ago
+ <% end %>
+
+ <% end %>
+
- What's next?
- -
-
-
-
-