diff options
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html | 2 | ||||
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html index 2abbfcab..60019ab1 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html @@ -25,9 +25,7 @@ </nav> <nav id="actions"> <ul> - {% if not readonly %} <li><a href="/#post">{{ i18n("messages","link.postMessage") }}</a></li> - {% endif %} <li><a href="/{{ visitor.getName() }}">@{{ visitor.getName() }}</a></li> <li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li> </ul> diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html index 452d1267..1e43b92f 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html @@ -1,14 +1,10 @@ <form action="/post" method="post" enctype="multipart/form-data"> <section id="newmessage"> - {% if readonly %} - <p>Комментирование временно недоступно</p> - {% else %} <textarea name="body" placeholder="Новое сообщение..."></textarea> <div> <input type="text" class="img" name="img" placeholder="Ссылка на изображение (JPG/PNG, до 10Мб)"/> или <a href="#">загрузить</a><br/> <input type="text" class="tags" name="tags" placeholder="Теги (через пробел)"/><br/> <input type="submit" class="subm" value="Отправить"/> </div> - {% endif %} </section> </form>
\ No newline at end of file |