X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=a5a785af7eaf1c466664a4834cc9394dac616c94;hb=0acb5d4558d3641c47f01a056751c4410b7c4953;hp=bd069f5cd7e87f3cb6ed28784911f89f7d195a80;hpb=458064dddefca4d72420e9c039836179d70334da;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index bd069f5cd7..a5a785af7e 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -70,9 +70,9 @@ as the value of $top_child_total (this is done at the end of this file) {{* Use a different div container in dependence max thread-level = 7 *}} {{if $item.thread_level<7}} -
-- {{$item.network_name}}
-
- {{if $item.plink || $item.drop.dropping || $item.edpost || $item.ignore || $item.tagger || $item.star || $item.filer || $item.subthread}}
- -
-
-
-
- {{/if}}
-
- - +- {{if $item.plink}} {{*link to the original source of the item *}} --
- {{$item.plink.title}}
-
- {{/if}}
-
- {{if $item.edpost}} {{* edit the posting *}}
- -
-
-
- {{/if}}
-
- {{if $item.tagger}} {{* tag the post *}}
- -
-
-
- {{/if}}
-
- {{if $item.filer}}
- -
-
-
- {{/if}}
-
- {{if $item.star}}
- -
-
-
-
- {{/if}}
-
- {{if $item.subthread}}
- -
-
-
- {{/if}}
-
- {{if $item.ignore || $item.drop.dropping}}
-
- {{/if}}
-
- {{if $item.ignore}}
- -
-
-
- -
-
-
- {{/if}}
-
- {{if $item.drop.dropping}}
- -
-
-
- {{/if}}
-
-{{$item.name}} - {{if $item.owner_url}}{{$item.via}} {{$item.owner_name}}{{/if}} - {{if $item.lock}} {{/if}} +
@@ -214,6 +155,14 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.owner_self}}
{{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
{{/if}}
+ {{if $item.direction}}
+ {{include file="sub/direction.tpl" direction=$item.direction}}
+ {{/if}}
+ {{if $item.pinned}}
+ •
+ {{$item.pinned}}
+ {{/if}}
+
@@ -229,7 +178,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{* contact info header for smartphones *}}
{{*this is the media body for comments - this div must be closed at the end of the file *}}
{{/if}}
+
+ {{if $item.network_icon != ""}}
+
+ {{else}}
+ {{$item.network_name}}
+ {{/if}}
+ {{if $item.plink}} {{*link to the original source of the item *}}
+
+
+
+
+ {{/if}}
+
+
{{* Insert Line to seperate item header and item content visually *}}
@@ -269,11 +238,6 @@ as the value of $top_child_total (this is done at the end of this file)
{{* item content *}}
- {{* insert some space if it's an top-level post *}}
- {{if $item.thread_level==1}}
-
- {{/if}}
-
{{if $item.title}}
{{if $item.edited}}{{$item.edited['label']}} ({{$item.edited['relative']}}) {{/if}}
@@ -311,52 +275,118 @@ as the value of $top_child_total (this is done at the end of this file)
-
{{* Action buttons to interact with the item (like: like, dislike, share and so on *}}
-
-
+
- {{if $item.threaded}}{{/if}}
-
- {{* Buttons for like and dislike *}}
- {{if $item.vote}}
- {{if $item.vote.like}}
-
- {{/if}}
- {{if $item.vote.like AND $item.vote.dislike}}
- â¢
- {{/if}}
- {{if $item.vote.dislike}}
-
- {{/if}}
+ {{* Buttons for like and dislike *}}
+ {{if $item.vote}}
+ {{if $item.vote.like}}
+
+ {{/if}}
+ {{if $item.vote.like AND $item.vote.dislike}}
+
+ {{/if}}
+ {{if $item.vote.dislike}}
+
+ {{/if}}
- {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
- â¢
- {{/if}}
+ {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
+
{{/if}}
+ {{/if}}
+
+ {{if $item.remote_comment}}
+ {{$item.remote_comment.1}}
+ {{/if}}
- {{* Button to open the comment text field *}}
- {{if $item.comment}}
+ {{* Button to open the comment text field *}}
+ {{if $item.comment}}
- {{/if}}
+ {{/if}}
- {{* Button for sharing the item *}}
- {{if $item.vote}}
- {{if $item.vote.share}}
- {{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
- â¢
- {{/if}}
-
+ {{* Button for sharing the item *}}
+ {{if $item.vote}}
+ {{if $item.vote.share}}
+ {{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
+
{{/if}}
+
{{/if}}
+ {{/if}}
+
+ {{* Put additional actions in a dropdown menu *}}
+ {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.subthread || $item.ignore || $item.drop.dropping}}
+
+
+
+
+
+ {{else}}
+ {{/if}}
+
-
+
{{* Event attendance buttons *}}
{{if $item.isevent}}
@@ -373,7 +403,122 @@ as the value of $top_child_total (this is done at the end of this file)
{{/if}}
-
+
+
+ {{* Buttons for like and dislike *}}
+ {{if $item.vote}}
+
+ {{if $item.vote.like}}
+
+ {{/if}}
+ {{if $item.vote.dislike}}
+
+ {{/if}}
+
+ {{/if}}
+
+ {{* Button to open the comment text field *}}
+ {{if $item.comment}}
+
+
+
+ {{/if}}
+
+ {{* Button for sharing the item *}}
+ {{if $item.vote.share}}
+
+
+
+ {{/if}}
+
+ {{* Put additional actions in a dropdown menu *}}
+
+
+
+
+
+
+ {{* Event attendance buttons *}}
+ {{if $item.isevent}}
+
+
+
+
+
+ {{/if}}
+
+ {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.subthread || $item.ignore || $item.drop.dropping}}
+
+
+
+
+ {{/if}}
+
+ {{if $item.drop.pagedrop}}
+
+
+ {{/if}}
+
+
+
@@ -396,30 +541,22 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.thread_level!=1}}
{{/if}}
-
- {{foreach $item.children as $child}}
- {{*
- {{if $child.type == tag}}
- {{include file="wall_item_tag.tpl" item=$child}}
- {{else}}
- {{include file="{{$item.template}}" item=$child}}
- {{/if}}
- *}}
- {{include file="{{$item.template}}" item=$child}}
- {{/foreach}}
-
- {{* Insert the comment box of the top level post at the bottom of the thread.
- Display this comment box if there are any comments. If not hide it. In this
- case it could be opend with the "comment" button *}}
- {{if $item.comment && $item.thread_level==1}}
- {{if $item.total_comments_num}}
-
-
-
- {{/if}}
- {{$item.comment nofilter}}
+
+ {{foreach $item.children as $child}}
+ {{include file="{{$item.template}}" item=$child}}
+ {{/foreach}}
+
+ {{* Insert the comment box of the top level post at the bottom of the thread.
+ Display this comment box if there are any comments. If not hide it. In this
+ case it could be opend with the "comment" button *}}
+ {{if $item.comment && $item.thread_level==1}}
+ {{if $item.total_comments_num}}
+
+
+
{{/if}}
-
+ + {{$item.name}} + + {{if $item.owner_url}} + {{$item.via}} + + {{$item.owner_name}} + + {{/if}} + {{if $item.lock}} + + + + {{/if}}
- {{$item.name}} + {{$item.name}}
{{$item.ago}} @@ -237,6 +186,9 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.owner_self}} {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} {{/if}} + {{if $item.direction}} + {{include file="sub/direction.tpl" direction=$item.direction}} + {{/if}}
@@ -248,7 +200,7 @@ as the value of $top_child_total (this is done at the end of this file)- {{$item.name}} + {{$item.name}} {{$item.ago}} @@ -256,12 +208,29 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.owner_self}} {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} {{/if}} + {{if $item.direction}} + {{include file="sub/direction.tpl" direction=$item.direction}} + {{/if}}
{{$item.title}}
{{/if}} @@ -303,7 +267,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/foreach}} {{foreach $item.categories as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}}
+
+ {{if $item.edpost}} {{* edit the posting *}} +-
+ {{$item.edpost.1}}
+
+ {{/if}}
+
+ {{if $item.tagger}} {{* tag the post *}}
+ -
+ {{$item.tagger.add}}
+
+ {{/if}}
+
+ {{if $item.filer}}
+ -
+ {{$item.filer}}
+
+ {{/if}}
+
+ {{if $item.pin}}
+ -
+ {{$item.pin.do}}
+ {{$item.pin.undo}}
+
+ {{/if}}
+
+ {{if $item.star}}
+ -
+ {{$item.star.do}}
+ {{$item.star.undo}}
+
+ {{/if}}
+
+ {{if $item.subthread}}
+ -
+ {{$item.subthread.title}}
+
+ {{/if}}
+
+ {{if ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.subthread) && ($item.ignore || $item.drop.dropping)}}
+
+ {{/if}}
+
+ {{if $item.ignore}}
+ -
+ {{$item.ignore.do}}
+
+ -
+ {{$item.ignore.undo}}
+
+ {{/if}}
+
+ {{if $item.drop.dropping}}
+ -
+ {{$item.drop.delete}}
+
+ {{/if}}
+
++ {{if $item.edpost}} {{* edit the posting *}} +-
+ {{$item.edpost.1}}
+
+ {{/if}}
+
+ {{if $item.tagger}} {{* tag the post *}}
+ -
+ {{$item.tagger.add}}
+
+ {{/if}}
+
+ {{if $item.filer}}
+ -
+ {{$item.filer}}
+
+ {{/if}}
+
+ {{if $item.pin}}
+ -
+ {{$item.pin.do}}
+ {{$item.pin.undo}}
+
+ {{/if}}
+
+ {{if $item.star}}
+ -
+ {{$item.star.do}}
+ {{$item.star.undo}}
+
+ {{/if}}
+
+ {{if $item.subthread}}
+ -
+ {{$item.subthread.title}}
+
+ {{/if}}
+
+ {{if $item.ignore || $item.drop.dropping}}
+
+ {{/if}}
+
+ {{if $item.ignore}}
+ -
+ {{$item.ignore.do}}
+
+ -
+ {{$item.ignore.undo}}
+
+ {{/if}}
+
+ {{if $item.drop.dropping}}
+ -
+ {{$item.drop.delete}}
+
+ {{/if}}
+
+