Commits

nibou230 authored 2b77e4a90d8
Moved showAccessStatus from UI to item config

Renamed item-page to item to make it generic
No tags

config/config.example.yml

Modified
6 6 ui:
7 7 ssl: false
8 8 host: localhost
9 9 port: 4000
10 10 # NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
11 11 nameSpace: /
12 12 # The rateLimiter settings limit each IP to a 'max' of 500 requests per 'windowMs' (1 minute).
13 13 rateLimiter:
14 14 windowMs: 60000 # 1 minute
15 15 max: 500 # limit each IP to 500 requests per windowMs
16 - # Show the file access status in items lists
17 - showAccessStatuses: false
18 16
19 17 # The REST API server settings
20 18 # NOTE: these must be 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
21 19 rest:
22 20 ssl: true
23 21 host: api7.dspace.org
24 22 port: 443
25 23 # NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
26 24 nameSpace: /server
27 25
156 154
157 155 # Browse-By Pages
158 156 browseBy:
159 157 # Amount of years to display using jumps of one year (current year - oneYearLimit)
160 158 oneYearLimit: 10
161 159 # Limit for years to display using jumps of five years (current year - fiveYearLimit)
162 160 fiveYearLimit: 30
163 161 # The absolute lowest year to display in the dropdown (only used when no lowest date can be found for all items)
164 162 defaultLowerLimit: 1900
165 163
166 -# Item Page Config
164 +# Item Config
167 165 item:
168 166 edit:
169 167 undoTimeout: 10000 # 10 seconds
168 + # Show the item access status label in items lists
169 + showAccessStatuses: false
170 170
171 171 # Collection Page Config
172 172 collection:
173 173 edit:
174 174 undoTimeout: 10000 # 10 seconds
175 175
176 176 # Theme Config
177 177 themes:
178 178 # Add additional themes here. In the case where multiple themes match a route, the first one
179 179 # in this list will get priority. It is advisable to always have a theme that matches

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut