mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Display universe name on author content
This commit is contained in:
parent
96ca2a3304
commit
5333ddc975
@ -10,7 +10,11 @@
|
||||
<%= content.description %>
|
||||
</p>
|
||||
<p class='grey-text'>
|
||||
<em>last edited <%= content.updated_at.strftime("%m/%d/%Y") %></em>
|
||||
<% if content.respond_to?(:universe) && content.universe %>
|
||||
<%= content.universe.name %>
|
||||
<% else %>
|
||||
<em>last edited <%= content.updated_at.strftime("%m/%d/%Y") %></em>
|
||||
<% end %>
|
||||
</p>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user