-
Notifications
You must be signed in to change notification settings - Fork 0
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
Initial review #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great work @avdata99, some things I found worth fixing before an initial release
Form styling, is this supposed to look like this? (I'm using a vanilla CKAN):
Banner styling; this also doesn't look good on standard CKAN:
If dates are mandatory they should be a validation step to check if there were filled. Now you get an Internal server error. Alternatively, not entering any date means that the announcement is shown immediately and indefinitely (until a sysadmin deletes it)
Small typo here:
People will most likely want to override the announcement template so move it to a separate snippet in
templates/announcements/announcement.html
or something and then include that fromtemplates/header.html
to make it easierLet's support Markdown styling by adding
h.render_markdown(announcement.message)
to the snippetOn the delete popup: "Are you sure you want to delete this announcement?", Scope -> Time Period
Also as this is a new extension let's run Black and use it going forward
The text was updated successfully, but these errors were encountered: