Commit 0747b742 authored by jz143's avatar jz143

disable turbolink for app download url

parent f5547662
......@@ -72,4 +72,7 @@ gem "pundit"
# generate plist on the fly
gem "plist", :git => "https://github.com/jiehanzheng/plist.git", :ref => "8dc72ad"
# post certain update events on slack
gem "slack-notifier", '~> 1.5.1'
gem 'bootstrap-sass', '~> 3.3.5'
......@@ -170,6 +170,7 @@ GEM
simple_form (3.2.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
slack-notifier (1.5.1)
spring (1.3.6)
sprockets (3.3.3)
rack (~> 1.0)
......@@ -225,9 +226,13 @@ DEPENDENCIES
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
simple_form
slack-notifier (~> 1.5.1)
spring
sqlite3
therubyracer
turbolinks
uglifier (>= 1.3.0)
web-console (~> 2.0)
BUNDLED WITH
1.10.6
......@@ -13,13 +13,13 @@
</h4>
<p><%= simple_format @app.description %></p>
<% if @latest_ios %>
<p>
<a class="btn btn-primary btn-sm btn-download" href="itms-services://?action=download-manifest&url=<%= app_app_file_download_url(@app, @latest_ios, protocol: 'https', format: :plist) %>">
<span class='download-icon'><%= image_tag 'download-icon.png', :size => '17x17' %></span>
<span>Install on iPhone</span>
</a>
<p><strong>If this is your first download to iOS 9 or later:</strong> After you download one of our apps on iOS, go to Settings app, tap General > Profile. &nbsp;Under Enterprise App, tap Duke University, and then tap Trust Duke University.</p>
</p>
<p data-no-turbolink>
<a class="btn btn-primary btn-sm btn-download" href="itms-services://?action=download-manifest&url=<%= app_app_file_download_url(@app, @latest_ios, protocol: 'https', format: :plist) %>">
<span class='download-icon'><%= image_tag 'download-icon.png', :size => '17x17' %></span>
<span>Install on iPhone</span>
</a>
<p><strong>If this is your first download to iOS 9 or later:</strong> After you download one of our apps on iOS, go to Settings app, tap General > Profile. &nbsp;Under Enterprise App, tap Duke University, and then tap Trust Duke University.</p>
</p>
<% end %>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment