File tree 2 files changed +8
-8
lines changed
frontend/src/panel-annotation
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 54
54
{{ #if itemSerial }}
55
55
<section class =" item-sections" >
56
56
<article class =" item-section has-mt-10" >
57
- <div class =" item-section-header" id = " btnRelItems " >
57
+ <div class =" item-section-header btn-related " >
58
58
<p >{{ #i18n ' button.related-items' }} Related items{{ /i18n }} </p >
59
59
<span
60
60
class =" icon is-large has-text-primary tooltip is-tooltip-left"
65
65
</div >
66
66
</article >
67
67
<article class =" item-section has-mt-10" >
68
- <div class =" item-section-header" id = " btnAnnotations " >
68
+ <div class =" item-section-header btn-annotations " >
69
69
<p >{{ #if annotationSerial }}
70
70
{{ #i18n ' button.other-annotations' }} Other annotations{{ /i18n }}
71
71
{{ else }}
80
80
</div >
81
81
</article >
82
82
<article class =" item-section has-mt-10" >
83
- <div class =" item-section-header" id = " btnExtResources " >
83
+ <div class =" item-section-header btn-external " >
84
84
<p >{{ #i18n ' button.external-resources' }} External resources{{ /i18n }} </p >
85
85
<span
86
86
class =" icon is-large has-text-primary tooltip is-tooltip-left"
104
104
{{ #if annotationSerial }}
105
105
<div class =" level-right" >
106
106
<div class =" level-item" >
107
- <button id = " btnNewAnnotation " type = button class =" button btn-new" >{{ #i18n ' button.new' }} New{{ /i18n }} </button >
107
+ <button type = button class =" button btn-new" >{{ #i18n ' button.new' }} New{{ /i18n }} </button >
108
108
</div >
109
109
</div >
110
110
{{ /if }}
Original file line number Diff line number Diff line change @@ -145,10 +145,10 @@ extend(AnnotationView.prototype, {
145
145
selector : '.metadataContainer' ,
146
146
} ] ,
147
147
events : {
148
- 'click #btnRelItems ' : 'onRelItemsClicked' ,
149
- 'click #btnAnnotations ' : 'onAnnotationsClicked' ,
150
- 'click #btnExtResources ' : 'onExtResourcesClicked' ,
148
+ 'click .btn-related ' : 'onRelItemsClicked' ,
149
+ 'click .btn-annotations ' : 'onAnnotationsClicked' ,
150
+ 'click .btn-external ' : 'onExtResourcesClicked' ,
151
151
'click .btn-edit' : 'onEditClicked' ,
152
- 'click #btnNewAnnotation ' : 'onNewClicked'
152
+ 'click .btn-new ' : 'onNewClicked'
153
153
} ,
154
154
} ) ;
You can’t perform that action at this time.
0 commit comments