11 lines
348 B
Text
11 lines
348 B
Text
<%= if @channel do %>
|
|
<%= if @channel.layout == :default do %>
|
|
<.note_list_default notes={@channel.notes}/>
|
|
<% end %>
|
|
<%= if @channel.layout == :gallery do %>
|
|
<.note_list_gallery notes={@channel.notes}/>
|
|
<% end %>
|
|
<%= if @channel.layout == :microblog do %>
|
|
<.note_list_microblog notes={@channel.notes}/>
|
|
<% end %>
|
|
<% end %>
|