From 0dd7d936744cccfac4228cabecddc59ce05eb26c Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Dec 2013 04:25:55 -0800 Subject: basic edit and delete for things --- view/theme/redbasic/css/style.css | 5 +++++ view/tpl/show_thing.tpl | 8 ++++++++ view/tpl/thing_edit.tpl | 29 +++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 view/tpl/thing_edit.tpl (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 5f532a861..397148c05 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -2445,3 +2445,8 @@ img.mail-list-sender-photo { #sidebar-group-list ul { list-style-type: none; } + +.profile-thing-list img, .thing-show img, .thing-edit-links a { + margin-top: 8px; + margin-right: 15px; +} diff --git a/view/tpl/show_thing.tpl b/view/tpl/show_thing.tpl index d37c9bb1a..2a8c06076 100644 --- a/view/tpl/show_thing.tpl +++ b/view/tpl/show_thing.tpl @@ -4,5 +4,13 @@ {{if $thing.imgurl}}{{$thing.term}}{{/if}} {{$thing.term}} +{{if $canedit}} + + +{{/if}} + {{/if}} diff --git a/view/tpl/thing_edit.tpl b/view/tpl/thing_edit.tpl new file mode 100644 index 000000000..8379c15ae --- /dev/null +++ b/view/tpl/thing_edit.tpl @@ -0,0 +1,29 @@ +

{{$thing_hdr}}

+
+ + +{{if $multiprof }} +
{{$profile_lbl}}
+ +
{{$profile_select}}
+{{/if}} + +
{{$verb_lbl}}
+ +
{{$verb_select}}
+ + + + +
+ + +
+ + +
+ +
+ + +
-- cgit v1.2.3