From 4f2c056d6d00257fccae356f4fdf6c0c971c9b60 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 14 Oct 2013 04:49:28 -0700 Subject: template and icons for categories and "file as" --- view/theme/redbasic/css/style.css | 4 ++++ view/tpl/item_categories.tpl | 8 ++++++++ view/tpl/item_filer.tpl | 8 ++++++++ 3 files changed, 20 insertions(+) create mode 100644 view/tpl/item_categories.tpl create mode 100644 view/tpl/item_filer.tpl (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 0c5c916ae..860578368 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -3473,4 +3473,8 @@ a .drop-icons { .attach-clip { margin-right: 3px; font-size: 1.8em; +} + +.item-category { + margin-right: 10px; } \ No newline at end of file diff --git a/view/tpl/item_categories.tpl b/view/tpl/item_categories.tpl new file mode 100644 index 000000000..c482d1ebe --- /dev/null +++ b/view/tpl/item_categories.tpl @@ -0,0 +1,8 @@ +{{if $categories}} +
+{{foreach $categories as $cat}} + {{$cat.term}}{{if $cat.writeable}}{{/if}} +{{/foreach}} +
+{{/if}} + diff --git a/view/tpl/item_filer.tpl b/view/tpl/item_filer.tpl new file mode 100644 index 000000000..0e68a172a --- /dev/null +++ b/view/tpl/item_filer.tpl @@ -0,0 +1,8 @@ +{{if $categories}} +
+{{foreach $categories as $cat}} + {{$cat.term}}  +{{/foreach}} +
+{{/if}} + -- cgit v1.2.3