stable
Clone or download
Read-only
In order to bring some consistency to admin pages (like Obsolete or Locked documents) the document ยป administration ยป permissions page is converted to BurningParrot. The difficulty here is that we depend on legacy functions like permission_display_selection_form() that directly output a form with needed inputs. While this is good to have a common lookalike form everywhere, it is hard to style once we display it under BurningParrot. The solution brought here is to add some javascript to add css class on components that we cannot control directly. This avoid modifying existing code and introducing #regressions. Part of story #24197: search for Documents with criteria Change-Id: I16b00f43d84b1313c49ebf18ff1656543651f39e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_Actions.class.php | +3 | โ0 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.php | +2 | โ0 | Go to diff View file |
M | plugins/docman/include/view/Admin/AdminView.php | +11 | โ2 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_Obsolete.class.php | +3 | โ5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_Permissions.class.php | +35 | โ5 | Go to diff View file |
A | plugins/docman/scripts/admin-permissions.ts | +42 | โ0 | Go to diff View file |
M | plugins/docman/themes/BurningParrot/css/admin.scss | +12 | โ0 | Go to diff View file |
A | plugins/docman/tsconfig.json | +8 | โ0 | Go to diff View file |
M | plugins/docman/webpack.common.js | +10 | โ1 | Go to diff View file |
M | src/common/mvc/Controler.class.php | +2 | โ2 | Go to diff View file |