aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/pm_sent.html')
-rw-r--r--juick-www/src/main/webapp/WEB-INF/views/pm_sent.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html b/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html
index 41f3814b..872cd29f 100644
--- a/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html
+++ b/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html
@@ -1,5 +1,6 @@
{% extends "layouts/content" %}
{% block content %}
+{% if not readonly %}
<form action="/pm/send" method="POST" enctype="multipart/form-data">
<div class="newpm">
<div class="newpm-to">To: <input type="text" name="uname" placeholder="username" value="{{ uname }}"/></div>
@@ -7,6 +8,7 @@
<div class="newpm-send"><input type="submit" value="OK"/></div>
</div>
</form>
+{% endif %}
{% if not msgs.isEmpty() %}
<ul id="private-messages">
{% for msg in msgs %}