Merge branch 'develop' into standalone_develop
This commit is contained in:
commit
77ec7e5a69
|
@ -205,3 +205,9 @@ input.form-control {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table th, .table td {
|
||||||
|
padding: 0.75rem 0.1rem;
|
||||||
|
vertical-align: top;
|
||||||
|
border-top: 1px solid #dee2e6;
|
||||||
|
}
|
|
@ -220,7 +220,7 @@ class AttachmentsController < ApplicationController
|
||||||
candown = course.member?(current_user) || course.is_public
|
candown = course.member?(current_user) || course.is_public
|
||||||
elsif @file.container.is_a?(Journal)
|
elsif @file.container.is_a?(Journal)
|
||||||
course = @file.container.issue.project
|
course = @file.container.issue.project
|
||||||
candown = course.member?(current_user)
|
candown = course.member?(current_user) || course.is_public
|
||||||
else
|
else
|
||||||
course = nil
|
course = nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue