-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add button to verify that outdated data is still valid #154
base: master
Are you sure you want to change the base?
Conversation
Code Climate has analyzed commit ee1f357 and detected 13 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Bitte aktualisieren Sie ihre Daten oder bestätigen Sie, dass diese noch aktuell sind: | ||
</div> | ||
<div class="col col-outdated-data"> | ||
<%= f.submit "Daten sind noch aktuell", class: "btn btn-primary btn--big" %> |
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.
because of the submit
the form will be sent like hitting the save button, right?
after that, needs_update
will be reset and this part disappears?
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.
im Mainserver there ist an "dataprovider.user.touch" on any update, and this :needs_update will disappear if updated_at is junger than 6 month
|
||
.col-outdated-data { | ||
color: #dc3545 !important; | ||
} | ||
|
||
.col-outdated-data > input { | ||
background-color: #dc3545 !important; | ||
color: white !important; | ||
width: 100%; | ||
} |
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.
please add this to the other custom stylesheets in custom.css
to keep the application.css
clean with just the requires
Bitte aktualisieren Sie ihre Daten oder bestätigen Sie, dass diese noch aktuell sind: | ||
</div> | ||
<div class="col col-outdated-data"> | ||
<%= f.submit "Daten sind noch aktuell", class: "btn btn-primary btn--big" %> |
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.
im Mainserver there ist an "dataprovider.user.touch" on any update, and this :needs_update will disappear if updated_at is junger than 6 month
Belongs to this PR in mainserver: smart-village-solutions/smart-village-app-mainserver#249
SVA-252