Retrospring/app/views/feedback/features.html.haml

18 lines
706 B
Plaintext
Raw Normal View History

- provide(:title, generate_title(t('.title')))
2022-01-28 10:30:09 -08:00
2022-01-21 23:17:09 -08:00
%div{ data: { canny: "" } }
2022-01-21 15:33:37 -08:00
%script
2022-01-21 23:17:09 -08:00
!function(w,d,i,s){function l(){if(!d.getElementById(i)){var f=d.getElementsByTagName(s)[0],e=d.createElement(s);
e.type="text/javascript",e.async=!0,e.src="https://canny.io/sdk.js",f.parentNode.insertBefore(e,f)}}
if("function"!=typeof w.Canny){var c=function(){c.q.push(arguments)};
c.q=[],w.Canny=c,"complete"===d.readyState?l():w.attachEvent?w.attachEvent("onload",l):w.addEventListener("load",l,!1)}
}(window,document,"canny-jssdk","script");
2022-01-21 15:33:37 -08:00
%script
Canny('render', {
boardToken: '#{APP_CONFIG['canny']['feature_board']}',
2022-01-21 22:39:33 -08:00
ssoToken: '#{canny_token}',
basePath: '/feedback/feature_requests'
2022-01-21 23:17:09 -08:00
});