Commit 3d6dc6c41f3572959a22c2f8a6c0b5b5f0d5f25e
1 parent
9605c96b
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix integration with feedback
Showing
1 changed file
with
1 additions
and
50 deletions
Show diff stats
app/views/layouts/application-ng.html.erb
@@ -96,56 +96,7 @@ | @@ -96,56 +96,7 @@ | ||
96 | <!-- End Piwik Code --> | 96 | <!-- End Piwik Code --> |
97 | 97 | ||
98 | <!-- Feedback --> | 98 | <!-- Feedback --> |
99 | - | ||
100 | - <link href='//feedback.participa.br/assets/feedback.css' media='all' rel='stylesheet'> | ||
101 | - <script src='//feedback.participa.br/assets/feedback_client.js'></script> | ||
102 | - | ||
103 | - <script type="text/javascript"> | ||
104 | - $(document).ready(function() { | ||
105 | - Feedback( | ||
106 | - { | ||
107 | - label: "Dê um Feedback!", | ||
108 | - header: "Registro do Feedback", | ||
109 | - url: "//feedback.participa.br/api/v1/feedbacks?access_token=pINDdceSPik_4vRCleHTQg", | ||
110 | - nextLabel: "Continuar", | ||
111 | - reviewLabel: "Revisar", | ||
112 | - sendLabel: "Enviar", | ||
113 | - closeLabel: "Fechar", | ||
114 | - highlightBlackoutHelp: "Você pode destacar informações úteis ou ocultar informações sensíveis.", | ||
115 | - blackoutButtonLabel: "Ocultar", | ||
116 | - highlightButtonLabel: "Destacar", | ||
117 | - messageSuccess: "O seu relato foi enviado com sucesso!", | ||
118 | - messageError: "Houve um erro ao enviar o feedback...", | ||
119 | - pages: [ | ||
120 | - new window.Feedback.Form([ | ||
121 | - { | ||
122 | - type: "select", | ||
123 | - name: "tipo_relato", | ||
124 | - label: "Tipo de Relato", | ||
125 | - options: ["Sugestão", "Erro", "Elogio"], | ||
126 | - required: true | ||
127 | - }, | ||
128 | - { | ||
129 | - type: "starrating", | ||
130 | - name: "starrating", | ||
131 | - label: "Avalie", | ||
132 | - options: ["1", "2", "3", "4", "5"], | ||
133 | - required: true | ||
134 | - }, | ||
135 | - { | ||
136 | - type: "textarea", | ||
137 | - name: "observacao", | ||
138 | - label: "Observação" | ||
139 | - } | ||
140 | - ] | ||
141 | - ), | ||
142 | - new window.Feedback.Screenshot(), | ||
143 | - new window.Feedback.Review() | ||
144 | - ] | ||
145 | - }); | ||
146 | - }); | ||
147 | - | ||
148 | - </script> | 99 | + <script async src="//feedback.participa.br/widget/LaO2ZHfEDYP8U3PoSCHUHw"></script> |
149 | <!-- End Feedback Code --> | 100 | <!-- End Feedback Code --> |
150 | </body> | 101 | </body> |
151 | </html> | 102 | </html> |