diff options
Diffstat (limited to 'app/views/updates')
-rw-r--r-- | app/views/updates/_update.html.haml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/updates/_update.html.haml b/app/views/updates/_update.html.haml index 57f4158..3647ca2 100644 --- a/app/views/updates/_update.html.haml +++ b/app/views/updates/_update.html.haml | |||
@@ -1,3 +1,6 @@ | |||
1 | %section.stream-update.entry-content{ id: "update-#{update.id}" } | 1 | %section.stream-update.entry-content{ id: "update-#{update.id}" } |
2 | %time.update-posted= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") | 2 | %header.update-posted |
3 | = update.body.html_safe | 3 | %time= update.created_at.strftime("%B #{update.created_at.day.ordinalize}, %Y at %-I:%M:%S%P") |
4 | - if user_signed_in? and !update.new_record? | ||
5 | = link_to "Edit", edit_admin_stream_update_path(update.stream, update), :class => "update-edit-link" | ||
6 | = markdown(update.body) | ||