aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-08-21 20:03:25 -0700
committerfriendica <info@friendica.com>2012-08-21 20:03:25 -0700
commit30e86284af3cdf64cf4f5f6a0e1ced04cfb73258 (patch)
tree938d2031d1492d9cbfa6b77382e5aaebba50c8d5 /view
parent9b9f35f8e57464ead49be0a8e2aa64b0d8a6573c (diff)
downloadvolse-hubzilla-30e86284af3cdf64cf4f5f6a0e1ced04cfb73258.tar.gz
volse-hubzilla-30e86284af3cdf64cf4f5f6a0e1ced04cfb73258.tar.bz2
volse-hubzilla-30e86284af3cdf64cf4f5f6a0e1ced04cfb73258.zip
upstream
Diffstat (limited to 'view')
-rw-r--r--view/theme/duepuntozero/css/style.css3
-rwxr-xr-xview/theme/duepuntozero/tpl/comment_item.tpl4
-rw-r--r--view/tpl/comment_item.tpl4
3 files changed, 11 insertions, 0 deletions
diff --git a/view/theme/duepuntozero/css/style.css b/view/theme/duepuntozero/css/style.css
index 18f620110..bbb4cb54f 100644
--- a/view/theme/duepuntozero/css/style.css
+++ b/view/theme/duepuntozero/css/style.css
@@ -934,6 +934,9 @@ input#dfrn-url {
#network-bmark-link {
margin-top: 10px;
}
+.tread-wrapper .wall-item-comment-wrapper {
+ margin-left: 50px;
+}
.wall-item-content-wrapper {
margin-top: 10px;
diff --git a/view/theme/duepuntozero/tpl/comment_item.tpl b/view/theme/duepuntozero/tpl/comment_item.tpl
index 63c05f335..f64ae753b 100755
--- a/view/theme/duepuntozero/tpl/comment_item.tpl
+++ b/view/theme/duepuntozero/tpl/comment_item.tpl
@@ -1,6 +1,10 @@
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
+ {{ if $threaded }}
<span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ {{ else }}
+ <form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ {{ endif }}
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="profile_uid" value="$profile_uid" />
<input type="hidden" name="parent" value="$parent" />
diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl
index b2be6f94e..98173aa30 100644
--- a/view/tpl/comment_item.tpl
+++ b/view/tpl/comment_item.tpl
@@ -1,6 +1,10 @@
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
+ {{ if $threaded }}
<span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ {{ else }}
+ <form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
+ {{ endif }}
<input type="hidden" name="type" value="$type" />
<input type="hidden" name="profile_uid" value="$profile_uid" />
<input type="hidden" name="parent" value="$parent" />