From b7f6cceaea464df81fac872d2d7b863bd02746de Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 24 Apr 2015 22:37:22 +0200 Subject: provide block titles in blocklist --- view/css/mod_blocks.css | 8 ++++---- view/tpl/blocklist.tpl | 10 +++++++--- 2 files changed, 11 insertions(+), 7 deletions(-) (limited to 'view') diff --git a/view/css/mod_blocks.css b/view/css/mod_blocks.css index c930f5dc8..e17d19750 100644 --- a/view/css/mod_blocks.css +++ b/view/css/mod_blocks.css @@ -15,14 +15,14 @@ padding: 7px 3px 7px 10px; } -#block-list-table th:nth-child(5), -#block-list-table td:nth-child(5){ +#block-list-table th:nth-child(6), +#block-list-table td:nth-child(6){ padding: 7px 3px; white-space: nowrap; } -#block-list-table th:nth-child(6), -#block-list-table td:nth-child(6){ +#block-list-table th:nth-child(7), +#block-list-table td:nth-child(7){ padding: 7px 10px 7px 7px; white-space: nowrap; } diff --git a/view/tpl/blocklist.tpl b/view/tpl/blocklist.tpl index f599aade7..f653ef59d 100644 --- a/view/tpl/blocklist.tpl +++ b/view/tpl/blocklist.tpl @@ -16,7 +16,8 @@
- + + @@ -28,11 +29,14 @@ +
{{$name}}{{$name}}{{$blocktitle}}
{{if $view}} - {{$item.title}} + {{$item.name}} {{else}} - {{$item.title}} + {{$item.name}} {{/if}} + {{$item.title}} + {{if $edit}} -- cgit v1.2.3