From: Hypolite Petovan Date: Thu, 19 Jan 2023 01:49:08 +0000 (-0500) Subject: Create base `sub/direction.tpl` template from vier X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=594f738c6d0cbfd4e5bf5240c3e535cb8eb74b56;p=friendica.git Create base `sub/direction.tpl` template from vier - Address https://github.com/friendica/friendica/issues/12486#issuecomment-1383249754 --- diff --git a/view/templates/sub/direction.tpl b/view/templates/sub/direction.tpl new file mode 100644 index 0000000000..1d52e1198f --- /dev/null +++ b/view/templates/sub/direction.tpl @@ -0,0 +1,26 @@ +{{if $direction.direction > 0}} + + • + {{if $direction.direction == 1}} + + {{elseif $direction.direction == 2}} + + {{elseif $direction.direction == 3}} + + {{elseif $direction.direction == 4}} + + {{elseif $direction.direction == 5}} + + {{elseif $direction.direction == 6}} + + {{elseif $direction.direction == 7}} + + {{elseif $direction.direction == 8}} + + {{elseif $direction.direction == 9}} + + {{elseif $direction.direction == 10}} + + {{/if}} + +{{/if}} diff --git a/view/theme/vier/templates/sub/direction.tpl b/view/theme/vier/templates/sub/direction.tpl deleted file mode 100644 index 1d52e1198f..0000000000 --- a/view/theme/vier/templates/sub/direction.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{{if $direction.direction > 0}} - - • - {{if $direction.direction == 1}} - - {{elseif $direction.direction == 2}} - - {{elseif $direction.direction == 3}} - - {{elseif $direction.direction == 4}} - - {{elseif $direction.direction == 5}} - - {{elseif $direction.direction == 6}} - - {{elseif $direction.direction == 7}} - - {{elseif $direction.direction == 8}} - - {{elseif $direction.direction == 9}} - - {{elseif $direction.direction == 10}} - - {{/if}} - -{{/if}}