Skip to content

Commit

Permalink
Fixed IIIF dir error display
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWatzinger committed Sep 2, 2024
1 parent 6b48d93 commit 299f995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions openatlas/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ span.disk-space-legend {
color: #dc3545;
}

div.alert p {
margin: 0;
}

/* Drop-field */
.drag-n-drop {
min-height: 120px;
Expand Down
1 change: 0 additions & 1 deletion openatlas/views/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,6 @@ def get_disk_space_info() -> Optional[dict[str, Any]]:
if os.name == 'posix':
for key, path in paths.items():
if not os.access(path['path'], os.W_OK): # pragma: no cover
flash(f"{key} {_('directory not writable')}", 'error')
continue
size = run(
['du', '-sb', path['path']],
Expand Down

0 comments on commit 299f995

Please sign in to comment.