Skip to content

Commit cedaf6b

Browse files
Hide image map X/Y and region hover info when read only
1 parent 90b03f3 commit cedaf6b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • manage_breast_screening/core/jinja2/components/breast-diagram

manage_breast_screening/core/jinja2/components/breast-diagram/template.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"text": "N/A",
3232
"classes": "app-js-image-x"
3333
}
34-
},
34+
} if params.read_only else none,
3535
{
3636
"key": {
3737
"text": "Image Y"
@@ -40,7 +40,7 @@
4040
"text": "N/A",
4141
"classes": "app-js-image-y"
4242
}
43-
},
43+
} if params.read_only else none,
4444
{
4545
"key": {
4646
"text": "Image region"
@@ -49,7 +49,7 @@
4949
"text": "N/A",
5050
"classes": "app-js-image-region"
5151
}
52-
},
52+
} if params.read_only else none,
5353
{
5454
"key": {
5555
"text": "Input values"

0 commit comments

Comments
 (0)