aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-24 21:16:55 -0700
committerfriendica <info@friendica.com>2012-06-24 21:16:55 -0700
commitc464bc494c51bd871c2cf01a441ea2c4f8defc65 (patch)
tree14a4c5a83cab785f41ae465c308729ce7b551a56 /view
parent9528beac34389f8d8f20de1816bca8d516a556cc (diff)
downloadvolse-hubzilla-c464bc494c51bd871c2cf01a441ea2c4f8defc65.tar.gz
volse-hubzilla-c464bc494c51bd871c2cf01a441ea2c4f8defc65.tar.bz2
volse-hubzilla-c464bc494c51bd871c2cf01a441ea2c4f8defc65.zip
add like/dislike to profiles
Diffstat (limited to 'view')
-rw-r--r--view/profile_advanced.tpl13
-rw-r--r--view/profile_edit.tpl24
2 files changed, 37 insertions, 0 deletions
diff --git a/view/profile_advanced.tpl b/view/profile_advanced.tpl
index 0b8f31f43..b02b7f27d 100644
--- a/view/profile_advanced.tpl
+++ b/view/profile_advanced.tpl
@@ -89,6 +89,19 @@
</dl>
{{ endif }}
+{{ if $profile.likes }}
+<dl id="aprofile-likes" class="aprofile">
+ <dt>$profile.likes.0</dt>
+ <dd>$profile.likes.1</dd>
+</dl>
+{{ endif }}
+
+{{ if $profile.dislikes }}
+<dl id="aprofile-dislikes" class="aprofile">
+ <dt>$profile.dislikes.0</dt>
+ <dd>$profile.dislikes.1</dd>
+</dl>
+{{ endif }}
{{ if $profile.contact }}
<dl id="aprofile-contact" class="aprofile">
diff --git a/view/profile_edit.tpl b/view/profile_edit.tpl
index ad34b9956..64cd47324 100644
--- a/view/profile_edit.tpl
+++ b/view/profile_edit.tpl
@@ -187,6 +187,30 @@ $lbl_hobbies
</div>
+<div id="likes-jot-wrapper" >
+<p id="likes-jot-desc" >
+$lbl_likes
+</p>
+
+<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >$likes</textarea>
+
+</div>
+<div id="likes-jot-end"></div>
+</div>
+
+
+<div id="dislikes-jot-wrapper" >
+<p id="dislikes-jot-desc" >
+$lbl_dislikes
+</p>
+
+<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >$dislikes</textarea>
+
+</div>
+<div id="dislikes-jot-end"></div>
+</div>
+
+
<div id="contact-jot-wrapper" >
<p id="contact-jot-desc" >
$lbl_social