From a798ef1a5677b0669ce9262bcc868769e985df00 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 24 Sep 2012 21:43:03 -0700 Subject: [PATCH] one template to rule them all --- view/wall_thread.tpl | 51 ++++++++++++++++++++-------------------- view/wallwall_thread.tpl | 10 ++++---- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/view/wall_thread.tpl b/view/wall_thread.tpl index 86a937fef..ef7236baf 100644 --- a/view/wall_thread.tpl +++ b/view/wall_thread.tpl @@ -6,38 +6,40 @@ {{endif}}
-{{ if $item.threaded }} -
-{{ else }} -
-{{ endif }} +
-
-
+
+ {{ if $item.owner_url }} +
+ + $item.owner_name +
+
$item.wall
+ {{ endif }} +
- $item.name - + $item.name menu -
-
    - $item.item_photo_menu -
-
+
+
    + $item.item_photo_menu +
+
+
{{ if $item.lock }}
$item.lock
{{ else }}
{{ endif }} -
$item.location
+
$item.location
- $item.name -
$item.ago
- -
+ $item.name{{ if $item.owner_url }} $item.to $item.owner_name $item.vwall{{ endif }}
+
$item.ago
+
$item.title
@@ -80,14 +82,15 @@ {{ endif }} {{ if $item.filer }} - {{ endif }} + {{ endif }} +
{{ if $item.drop.dropping }}{{ endif }}
{{ if $item.drop.dropping }}{{ endif }}
-
+
$item.dislike
@@ -106,12 +109,10 @@ {{ inc $item.template }}{{ endinc }} {{ endfor }} -{{ if $item.comment }} {{ if $item.flatten }}
$item.comment
{{ endif }} -{{ endif }}
{{if $item.comment_lastcollapsed}}
{{endif}} diff --git a/view/wallwall_thread.tpl b/view/wallwall_thread.tpl index 211f95132..ef7236baf 100644 --- a/view/wallwall_thread.tpl +++ b/view/wallwall_thread.tpl @@ -6,15 +6,17 @@ {{endif}}
-
+
-
+
+ {{ if $item.owner_url }}
$item.wall
-
- $item.name $item.to $item.owner_name $item.vwall
+ $item.name{{ if $item.owner_url }} $item.to $item.owner_name $item.vwall{{ endif }}
$item.ago