-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #1681 -- Display file name for resources uploads #1694
Conversation
cadasta/core/static/css/reg.scss
Outdated
@@ -153,7 +153,3 @@ body.tinted-bg { // photo for login and register forms | |||
background-color: $state-danger-bg; | |||
border-radius: 3px; | |||
} | |||
|
|||
.s3-buckets > .file-links > .file-link { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can change to #profile .s3-buckets > .file-links > .file-link (add #profile to beginning) and not change profile.html.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call, I added the changes.
@@ -9,6 +9,11 @@ | |||
|
|||
{% block extra_script %} | |||
{{ form.media }} | |||
<style type="text/css"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need to include this style on this page if you make the change to reg.scss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the changes requested by @clash99, this works for me. 👍
Proposed changes in this pull request
req.scss
and added it to the templateprofile.html
directly because this is the only place where it should apply.When should this PR be merged
Risks
None
Follow-up actions
None
Checklist (for reviewing)
General
migration
label if a new migration is added.Functionality
Code
Tests
Security
Documentation