diff --git a/app/views/admin/communication/websites/_sidebar.html.erb b/app/views/admin/communication/websites/_sidebar.html.erb index d9c4071137851401284acc3f3c115a76b25a9624..e3517b64da5784b7a0bd543f27be18b4325e0938 100644 --- a/app/views/admin/communication/websites/_sidebar.html.erb +++ b/app/views/admin/communication/websites/_sidebar.html.erb @@ -20,12 +20,12 @@ ability: can?(:read, Communication::Website::Post) }, { - title: Communication::Website::Category.model_name.human(count: 2), + title: " - #{Communication::Website::Category.model_name.human(count: 2)}", path: admin_communication_website_categories_path(website_id: @website), ability: can?(:read, Communication::Website::Category) }, { - title: t('communication.authors', count: 2), + title: " - #{t('communication.authors', count: 2)}", path: admin_communication_website_authors_path(website_id: @website), ability: can?(:read, University::Person) }, @@ -39,7 +39,7 @@ active = object[:path].in? request.path %> <a class="list-group-item list-group-item-action<%= ' active' if active %>" href="<%= object[:path] %>"> - <%= object[:title] %> + <%= object[:title].html_safe %> </a> <% end %> </div> diff --git a/app/views/admin/university/organizations/_form.html.erb b/app/views/admin/university/organizations/_form.html.erb index 778f9ee32515d771e8245b0d379ed1fb8633ca8a..5903d409c61c01b3dada4e01c7af01e606c0d72c 100644 --- a/app/views/admin/university/organizations/_form.html.erb +++ b/app/views/admin/university/organizations/_form.html.erb @@ -78,7 +78,7 @@ label: false, input_html: { accept: '.jpg,.jpeg,.png,.svg' }, preview: 200, - resize: 1, + resize: false, direct_upload: true %> </div> </div>