#1207 Sub-projects are not present

This commit is contained in:
karel.picman@lbcfree.net 2021-05-07 10:14:11 +02:00
parent 14170ab337
commit 90015ef514
2 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class DmsfController < ApplicationController
@trash_enabled = @folder_manipulation_allowed && @file_manipulation_allowed
@query.dmsf_folder_id = @folder ? @folder.id : nil
@query.deleted = false
@query.sub_projects |= (Setting.plugin_redmine_dmsf['dmsf_projects_as_subfolders'] == '1')
@query.sub_projects |= Setting.plugin_redmine_dmsf['dmsf_projects_as_subfolders'].present?
if (@folder && @folder.deleted?) || (params[:folder_title].present? && !@folder)
render_404
return

View File

@ -246,6 +246,10 @@ div[id*="revision_access_"] {
text-align: left;
}
.dmsf-row-control {
float: left;
}
/* DMSF file upload */
.dmsf-uploader {
padding:10px;