Fix HAML codestyle
This commit is contained in:
parent
3711c676da
commit
4e9f83330b
|
@ -1,7 +1,11 @@
|
|||
%div{ data: { canny: '' } }
|
||||
%div{ data: { canny: "" } }
|
||||
|
||||
%script
|
||||
!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");
|
||||
!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");
|
||||
|
||||
%script
|
||||
Canny('render', {
|
||||
|
|
|
@ -2,23 +2,23 @@
|
|||
%h2 Notice
|
||||
|
||||
%p
|
||||
=APP_CONFIG['site_name']
|
||||
= APP_CONFIG["site_name"]
|
||||
uses Canny to collect feedback or bug reports on the following pages.
|
||||
|
||||
%p
|
||||
Canny collects the username, user ID and email address for these purposes.
|
||||
Unless you specifically consent to this,
|
||||
=APP_CONFIG['site_name']
|
||||
= APP_CONFIG["site_name"]
|
||||
will not send your data to Canny, but you can't use the feedback forms either.
|
||||
|
||||
%p
|
||||
%a.text-muted{ href: 'https://canny.io/privacy' } Canny's Privacy Policy
|
||||
%a.text-muted{ href: "https://canny.io/privacy" } Canny's Privacy Policy
|
||||
|
||||
%p
|
||||
= button_to "Consent and proceed", feedback_consent_path, class: 'btn btn-primary', method: :post, params: { consent: true }
|
||||
= button_to "Consent and proceed", feedback_consent_path, class: "btn btn-primary", method: :post, params: { consent: true }
|
||||
|
||||
%p
|
||||
Alternatively, you can send us bug reports and feature requests directly on GitHub.
|
||||
|
||||
%p
|
||||
%a.btn.btn-outline-primary{ href: 'https://github.com/Retrospring/retrospring/issues' } GitHub Issues
|
||||
%a.btn.btn-outline-primary{ href: "https://github.com/Retrospring/retrospring/issues" } GitHub Issues
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
%div{ data: { canny: '' } }
|
||||
%div{ data: { canny: "" } }
|
||||
|
||||
%script
|
||||
!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");
|
||||
!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");
|
||||
|
||||
%script
|
||||
Canny('render', {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
.jumbotron__content
|
||||
%h1 Feedback
|
||||
.container
|
||||
- unless params[:action] === "consent"
|
||||
- unless params[:action] == "consent"
|
||||
.card
|
||||
.list-group.list-group-horizontal-sm.text-center
|
||||
= list_group_item "Bugs", feedback_bugs_path
|
||||
|
@ -13,4 +13,4 @@
|
|||
= yield
|
||||
|
||||
:ruby
|
||||
parent_layout 'base'
|
||||
parent_layout "base"
|
||||
|
|
Loading…
Reference in New Issue