quickapps_feedback 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9e0f1811ba11783a305eb83d0e6e098d67bddf2
4
- data.tar.gz: 9c526f5c132627a99db72a4805b54950ce560116
3
+ metadata.gz: 02a9e6742f210d4e468d56ef46ca8e90cf7bbfd3
4
+ data.tar.gz: 7402475e08f997fcb9cb9c40314189af633ac7d2
5
5
  SHA512:
6
- metadata.gz: 31f399072b50218c1d5bc2b119f2e3d04531dad778ea2fa1b75a70821577b77f38f904b7efc20f124be66d8db1b0fd0f6f7ce05022039efcc4103ed303aa9d2c
7
- data.tar.gz: 6079ee1e6a136bc99e012ba1df44317b395b16e4e15aa29bb13ca692a298c4ea9509cd1f5e6c0e5152b933ed20d94bf649d3497fdd0632701226a537d5baeb81
6
+ metadata.gz: 50daa4c964f046d7e7831f14f12bd53b4b2d0e29eaf2822b8531e99b16551d245551c895752771b436806db9c67fb961e6ac577a1e175ce73286baf5a9185e9f
7
+ data.tar.gz: 029a9371ccbc4ab92ad49f2e08a0467cd4f8e26e8fd9329e8ddeed6721b1887ca511c490ee7f1828596eb2ae97e66f547f1998dbb197733ef0dca9e5051c0e28
@@ -16,8 +16,8 @@ module QuickappsFeedback
16
16
  feedback = Feedback.new(request.env['HTTP_X_MXIT_USERID_R'] || session[:uid],
17
17
  params[:full_message],params[:support_type])
18
18
  SendFeedbackToUservoice.new.perform(feedback)
19
- flash[:notice] = 'thank you for your feedback'
20
- redirect to('/')
19
+ flash('feedback_flash')[:notice] = 'thank you for your feedback'
20
+ redirect to('/feedback')
21
21
  end
22
22
 
23
23
  get '/feedback/new' do
@@ -1,3 +1,3 @@
1
1
  module QuickappsFeedback
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -7,17 +7,15 @@
7
7
  <link href="/assets/application.css" media="all" rel="stylesheet" />
8
8
  </head>
9
9
  <body class="ui-page-active">
10
- <% if flash[:notice] %>
11
- <div class="alert alert-info" style="color:#00008b;"><%= flash[:notice] %></div>
12
- <% elsif flash[:alert] %>
13
- <div class="alert alert-block" style="color:#8b0000;"><%= flash[:alert] %></div>
10
+ <% if flash('feedback_flash')[:notice] %>
11
+ <div class="alert alert-info" style="color:#00008b;"><%= flash('feedback_flash')[:notice] %></div>
14
12
  <% end %>
15
13
 
16
14
  <%= yield %>
17
15
 
18
16
  <ul>
19
17
  <li>
20
- <a href="/" id="home">Home</a>
18
+ <a href="/" id="home">back</a>
21
19
  </li>
22
20
  </ul>
23
21
  </body>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickapps_feedback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Speelman