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

Add alt text on image placeholder #10455 #11761

Merged
merged 2 commits into from
Feb 3, 2025
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 arches/app/media/js/reports/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ define([
if (imgs.length === 0) {
imgs = [{
src: arches.urls.media + 'img/photo_missing.png',
alt: ''
alt: arches.translations.imageNotAvailable,
}];
}
return imgs;
Expand Down
1 change: 1 addition & 0 deletions arches/app/templates/javascript.htm
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@
view-gallery='{% trans "View Gallery" as viewGallery %} "{{ viewGallery|escapejs }}"'
image='{% trans "Image" as image %} "{{ image|escapejs }}"'
image-list='{% trans "Image List" as imageList %} "{{ imageList|escapejs }}"'
image-not-available='{% trans "Image not available" as imageNotAvailable %} "{{ imageNotAvailable|escapejs }}"'
image-tools='{% trans "Image Tools" as imageTools %} "{{ imageTools|escapejs }}"'
image-service='{% trans "Image Service" as imageService %} "{{ imageService|escapejs }}"'
switch-image-service='{% trans "Switch Image Service" as switchImageService %} "{{ switchImageService|escapejs }}"'
Expand Down
1 change: 1 addition & 0 deletions releases/8.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Arches 8.0.0 Release Notes
- New column `NodeGroup.grouping_node`: one-to-one field to the grouping node [#11613](https://github.com/archesproject/arches/issues/11613)
- Support more expressive plugin URLs [#11320](https://github.com/archesproject/arches/issues/11320)
- Make node aliases not nullable [#10437](https://github.com/archesproject/arches/issues/10437)
- Add alt text on image placeholder [#10455](https://github.com/archesproject/arches/issues/10455)
- Concepts API no longer responds with empty body for error conditions [#11519](https://github.com/archesproject/arches/issues/11519)
- Removes sample index from new projects, updates test coverage behavior [#11591](https://github.com/archesproject/arches/issues/11519)
- Add system dark mode detection for Vue apps [#11624](https://github.com/archesproject/arches/issues/11624)
Expand Down