Skip to content
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

alerts: small fixes #2875

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adhocracy-plus/templates/a4images/image_upload_widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
>
</div>
<div class="col-12">
<div class="alert alert--info upload-wrapper__alert" aria-live="assertive" aria-atomic="polite">
<div class="alert alert--info upload-wrapper__alert" role="status">
{% translate 'Your image will be uploaded/removed once you save your changes at the end of this page.' %}
</div>
</div>
Expand Down
12 changes: 2 additions & 10 deletions adhocracy-plus/templates/a4modules/module_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,8 @@
{% if project.is_draft %}
<div class="u-bg-light py-5">
<div class="container container--shadow">
<div class="row">
<div class="col">
<ul class="messages">
<li class="alert alert--warning" role="alert">
<div class="container">
{% translate 'This project is in not published yet.' %}
</div>
</li>
</ul>
</div>
<div class="alert alert--info" role="status" tabindex="0">
{% translate 'This project is in not published yet.' %}
</div>
</div>
</div>
Expand Down
12 changes: 3 additions & 9 deletions apps/projects/templates/a4_candy_projects/project_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,9 @@
{{ block.super }}

{% if project.is_draft %}
<div class="row">
<div class="col">
<ul class="messages">
<li class="alert alert--warning" role="alert">
<div class="container">
{% translate 'This project is not yet published.' %}
</div>
</li>
</ul>
<div class="alert alert--info" role="status" tabindex="0">
<div class="container">
{% translate 'This project is not yet published.' %}
</div>
</div>
{% endif %}
Expand Down