File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1111 {{ _ "proxies_addProxy" }}
1212 </ button >
1313 {{ else }}
14- < button
15- class ="btn btn-default btn-sm pull-right "
16- title ="{{ _ 'proxies_cannotAddMoreProxies' }} "
17- disabled ="true ">
18- {{ _ "proxies_addProxy" }}
19- </ button >
14+ < span class ="helper pull-right " data-toggle ="tooltip " title ="{{ _ 'proxies_cannotAddMoreProxies' }} ">
15+ < button class ="btn btn-default btn-sm " disabled >
16+ {{ _ "proxies_addProxy" }}
17+ </ button >
18+ </ span >
2019 {{ / unless }}
2120 {{ _ "proxies_pageHeader" }}
2221 </ h2 >
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ Template.proxies.onCreated(function () {
1717 } ) ;
1818} ) ;
1919
20+ Template . proxies . onRendered ( function ( ) {
21+ $ ( '[data-toggle="tooltip"]' ) . tooltip ( ) ;
22+ } ) ;
23+
2024Template . proxies . events ( {
2125 'click #add-proxy' : function ( event , instance ) {
2226 Modal . show ( 'addProxy' , { proxy : { } , isEdit : false } ) ;
Original file line number Diff line number Diff line change 1+ span .helper {
2+ display : inline-block ;
3+ }
You can’t perform that action at this time.
0 commit comments