From a50706317435d09cacb95cad0a6ccaf8ae5b5f6c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 26 Mar 2016 18:43:38 +0100 Subject: move link to /locs to settings menu if we have more than one location and some template work on locs --- view/tpl/channel.tpl | 4 --- view/tpl/locmanage.tpl | 77 ++++++++++++++++++++++++++------------------------ 2 files changed, 40 insertions(+), 41 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl index 17713aef4..d306f0aa0 100755 --- a/view/tpl/channel.tpl +++ b/view/tpl/channel.tpl @@ -44,10 +44,6 @@ {{if $channel.intros != 0}}{{/if}}{{$channel.intros|string_format:$intros_format}}{{if $channel.intros != 0}}{{/if}} - {{/if}} diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index c94cf60a7..95847d559 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -1,38 +1,41 @@ -
-

{{$header}}

- - - -
{{$sync_text}}
-
-
{{$drop_text}}
-
{{$last_resort}}
-
- - - - - - -{{foreach $hubs as $hub}} -{{if ! $hub.deleted }} - - - - -{{/if}} -{{/foreach}} -
{{$loc}}{{$mkprm}}{{$drop}}
-{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}) -{{if $hub.primary}}{{else}}{{/if}} -
+
+
+ + +

{{$header}}

+
+
+
+ {{$sync_text}} +
+ + + + + + + + + {{foreach $hubs as $hub}} + {{if ! $hub.deleted }} + + + + + + + {{/if}} + {{/foreach}} +
{{$loc}}{{$addr}}{{$mkprm}}{{$drop}}
{{$hub.hubloc_url}}{{$hub.hubloc_addr}}{{if $hub.primary}}{{else}}{{/if}}
+
-
- -- cgit v1.2.3