From 739e5d3b5d2f517bd79eb02b18c077401455d721 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 22 Oct 2013 09:24:17 +0200 Subject: [PATCH] Added uploader avatar --- public_html/media/css/post-view.css | 5 +++++ src/Views/post-view.phtml | 15 ++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/public_html/media/css/post-view.css b/public_html/media/css/post-view.css index da0ffb7f..9258a091 100644 --- a/public_html/media/css/post-view.css +++ b/public_html/media/css/post-view.css @@ -46,6 +46,11 @@ embed { background-color: silver; } +#sidebar .uploader img { + vertical-align: middle; + margin: 0 0.5em 0 0; +} + i.icon-prev { background-position: -12px -1px; } diff --git a/src/Views/post-view.phtml b/src/Views/post-view.phtml index f88efb4a..ff0cdfd8 100644 --- a/src/Views/post-view.phtml +++ b/src/Views/post-view.phtml @@ -44,18 +44,12 @@

details

-
- Safety: - - - -
-
Uploader: context->transport->post->uploader): ?> + <?php echo $this->context->transport->post->uploader->name ?> @@ -66,6 +60,13 @@
+
+ Safety: + + + +
+
Date: