Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Show delete for untitled

  • Loading branch information...
commit a6fc2cef8c26f787558a18f7078af8e67ad9ffa5 1 parent 8136fca
Roman authored
View
15 app/assets/javascripts/character/generic/templates/details_header.jst.eco
@@ -9,24 +9,21 @@
<div class='chr-container <% if not @__meta: %>chr-no-meta<% end %>'>
<% if @__meta: %>
-
+
<strong><%= @__title %></strong>
<% if @_id: %>
<div class='chr-actions'><a href='#/<%= @__scope %>' id='action_delete'>Delete</a></div>
<% end %>
-
+
<div class='chr-meta'>Updated on <%= @__updated_at %></div>
-
+
<% else: %>
-
- <% if @__title: %>
- <strong><%= @__title %></strong>
+ <% if @_id: %>
- <% if @_id: %>
- <div class='chr-actions'><a href='#/<%= @__scope %>' id='action_delete'>Delete</a></div>
- <% end %>
+ <strong><%= @__title || "No title" %></strong>
+ <div class='chr-actions'><a href='#/<%= @__scope %>' id='action_delete'>Delete</a></div>
<% else: %>
Please sign in to comment.
Something went wrong with that request. Please try again.