From 24b1382f720f28fcb34b7c6e880a64f43e61b7c5 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 26 Apr 2016 14:07:40 +0200 Subject: [PATCH] rework the contact info header of postings (move plink to dropdown) - reorder the post actions dropdown --- css/style.css | 7 ++- templates/search_item.tpl | 62 ++++++++++++---------- templates/wall_thread.tpl | 105 +++++++++++++++++++++----------------- 3 files changed, 98 insertions(+), 76 deletions(-) diff --git a/css/style.css b/css/style.css index c1529da49..da34191c4 100644 --- a/css/style.css +++ b/css/style.css @@ -1038,7 +1038,8 @@ section #jotOpen { .toplevel_item:hover .wall-item-content a, .toplevel_item:hover .wall-item-name, .wall-item-container:hover .wall-item-content a, -.wall-item-container:hover .wall-item-name { +.wall-item-container:hover .wall-item-name, +.wall-item-container:hover .wall-item-location a { /*color: #6fdbe8;*/ color: $link_color; -webkit-transition: all 0.25s ease-in-out; @@ -1439,7 +1440,9 @@ ul.dropdown-menu li:hover { } /* Media Classes */ -.media .time { +.media .time, +.media .location, +.media .location a { font-size: 11px; color: #bebebe; } diff --git a/templates/search_item.tpl b/templates/search_item.tpl index c504a126a..035f2aced 100644 --- a/templates/search_item.tpl +++ b/templates/search_item.tpl @@ -17,24 +17,24 @@ @@ -89,28 +90,33 @@ {{* contact info header*}} - {{* @todo work for mobile have to be done *}} - {{/if}} - {{/if}} + {{/if}} {{*End if $item.thread_level==1}} {{* The avatar picture for comments *}} {{if $item.thread_level!=1}} @@ -197,43 +207,46 @@ as the value of $top_child_total (this is done at the end of this file) {{* contact info header*}} {{if $item.thread_level==1}} - {{* @todo work for mobile have to be done *}} + {{* contact info header for smartphones *}} - {{/if}} + {{/if}} {{* End of if $item.thread_level==1 *}} {{* contact info header for comments *}} {{if $item.thread_level!=1}} -
{{*this div must be closed at the end of the file *}} -
-
{{$item.name}} - {{if $item.plink}} - {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} - {{/if}}
+
{{*this is the media body for comments - this div must be closed at the end of the file *}} +
+
+ {{$item.name}} + + {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} + +
{{/if}}