From: friendica Date: Tue, 25 Sep 2012 04:43:03 +0000 (-0700) Subject: one template to rule them all X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a798ef1a5677b0669ce9262bcc868769e985df00;p=friendica.git one template to rule them all --- diff --git a/view/wall_thread.tpl b/view/wall_thread.tpl index 86a937fef5..ef7236bafa 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 211f951328..ef7236bafa 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