diff --git a/js/catalog.js b/js/catalog.js index 9adaeaef..a6c5fb2a 100644 --- a/js/catalog.js +++ b/js/catalog.js @@ -45,4 +45,9 @@ if (active_page == 'catalog') $(function(){ $(this).css('width', 'auto'); } }); + + $('#post-form-opener').on('click', function(e) { + $('#post-form-container').css('display', 'unset'); + $('#post-form-opener').css('display', 'none'); + }); }); diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index e39debee..cfee935f 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -6,9 +6,9 @@ - {{ settings.title }} ( /{{ board }}/ ) + {{ settings.title }} ( /{{ board.title|e }}/ ) {% include 'header.html' %} @@ -16,10 +16,15 @@ {{ boardlist.top }}
-

{{ settings.title }} (/{{ board }}/)

+

{{ settings.title }} (/{{ board.title|e }}/)

{{ settings.subtitle }}
- + {% if not no_post_form %} +
[ {% trans 'Create new thread' %} ]
+ + {% endif %}