summaryrefslogtreecommitdiff
path: root/app/views/snippets/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/snippets/show.html.haml')
-rw-r--r--app/views/snippets/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml
index 97374e073dc..a12cfd0ff43 100644
--- a/app/views/snippets/show.html.haml
+++ b/app/views/snippets/show.html.haml
@@ -11,12 +11,12 @@
= link_to new_snippet_path, class: "btn btn-new btn-sm", title: "New Snippet" do
Add new snippet
-.append-bottom-10.prepend-top-10
+.append-bottom-10.prepend-top-10.clearfix
.pull-right
%span.light
- created by
= link_to user_snippets_path(@snippet.author) do
= @snippet.author_name
+ authored #{time_ago_with_tooltip(@snippet.updated_at)}
.back-link
- if @snippet.author == current_user