Commit b1a2a1aea1b509e20dc5ae51a24f93ba4e6c9d9f

Authored by Leandro Santos
1 parent b03eaf3a

fixing feedback

Showing 1 changed file with 4 additions and 8 deletions   Show diff stats
app/views/layouts/application-ng.html.erb
@@ -85,6 +85,7 @@ @@ -85,6 +85,7 @@
85 <!-- End Piwik Code --> 85 <!-- End Piwik Code -->
86 86
87 <!-- Feedback --> 87 <!-- Feedback -->
  88 +
88 <link href='//feedback.participa.br/assets/feedback.css' media='all' rel='stylesheet'> 89 <link href='//feedback.participa.br/assets/feedback.css' media='all' rel='stylesheet'>
89 <script src='//feedback.participa.br/assets/feedback_client.js'></script> 90 <script src='//feedback.participa.br/assets/feedback_client.js'></script>
90 91
@@ -102,7 +103,7 @@ @@ -102,7 +103,7 @@
102 highlightBlackoutHelp: "Você pode destacar informações úteis ou ocultar informações sensíveis.", 103 highlightBlackoutHelp: "Você pode destacar informações úteis ou ocultar informações sensíveis.",
103 blackoutButtonLabel: "Ocultar", 104 blackoutButtonLabel: "Ocultar",
104 highlightButtonLabel: "Destacar", 105 highlightButtonLabel: "Destacar",
105 - messageSuccess: "O seu feedback foi enviado com sucesso!", 106 + messageSuccess: "O seu relato foi enviado com sucesso!",
106 messageError: "Houve um erro ao enviar o feedback...", 107 messageError: "Houve um erro ao enviar o feedback...",
107 pages: [ 108 pages: [
108 new window.Feedback.Form([ 109 new window.Feedback.Form([
@@ -117,18 +118,13 @@ @@ -117,18 +118,13 @@
117 type: "starrating", 118 type: "starrating",
118 name: "starrating", 119 name: "starrating",
119 label: "Avalie", 120 label: "Avalie",
120 - options: ["1", "2", "3", "4", "5"] 121 + options: ["1", "2", "3", "4", "5"],
  122 + required: true
121 }, 123 },
122 { 124 {
123 type: "textarea", 125 type: "textarea",
124 name: "observacao", 126 name: "observacao",
125 label: "Observação" 127 label: "Observação"
126 - },  
127 - {  
128 - type: "hidden",  
129 - name: "situacao",  
130 - value: "aberto",  
131 - review: false  
132 } 128 }
133 ] 129 ]
134 ), 130 ),