mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Allow to hide classification settings in the webapp
This commit is contained in:
@ -15,6 +15,7 @@ let
|
||||
base-url = "http://localhost:7880";
|
||||
max-item-page-size = 200;
|
||||
max-note-length = 180;
|
||||
show-classification-settings = true;
|
||||
bind = {
|
||||
address = "localhost";
|
||||
port = 7880;
|
||||
@ -136,6 +137,17 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
show-classification-settings = mkOption {
|
||||
type = types.bool;
|
||||
default = defaults.show-classification-settings;
|
||||
description = ''
|
||||
This defines whether the classification form in the collective
|
||||
settings is displayed or not. If all joex instances have document
|
||||
classification disabled, it makes sense to hide its settings from
|
||||
users.
|
||||
'';
|
||||
};
|
||||
|
||||
bind = mkOption {
|
||||
type = types.submodule({
|
||||
options = {
|
||||
|
Reference in New Issue
Block a user