[openstreetmap/openstreetmap-website] Microcosms microcosms (PR #3683)

Brian DeRocher notifications at github.com
Wed Sep 14 23:54:16 UTC 2022


@openbrian commented on this pull request.



> @@ -0,0 +1,16 @@
+<% content_for :heading do %>
+  <h1><%= t(".title") %></h1>
+  <ul class='secondary-actions clearfix'>
+    <li><%= link_to image_tag("new.png", :class => "small_icon", :border => 0) + t(".new"), new_microcosm_path, :title => t(".new_title") %></li>
+  </ul>
+<% end %>
+
+<% if @microcosms_i_organize %>
+  <%= render :partial => "index_list", :locals => { :microcosms => @microcosms_i_organize, :header => t(".microcosms_i_organize") } %>
+<% end %>

I just spotted the All Traces / My Traces design pattern.  I'll apply that here.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3683#pullrequestreview-1108344743
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3683/review/1108344743 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220914/27d6cb62/attachment.htm>


More information about the rails-dev mailing list