deliver/lib/assets/summary.html.erb in fastlane-2.182.0 vs deliver/lib/assets/summary.html.erb in fastlane-2.183.0
- old
+ new
@@ -89,11 +89,11 @@
font-weight: 300;
}
.app-changelog-list {
list-style-type: square;
-
+
font-weight: 300;
}
ul {
margin-top: 6px;
@@ -135,14 +135,14 @@
.app-minor-information-key {
font-weight: 700;
}
</style>
</head>
-
+
<body>
<div class="app-icons">
-
+
<% if @options[:app_icon] %>
<div class="app-icon">
Large App Icon:<br>
<img src="<%= render_relative_path(@export_path, @options[:app_icon]) %>">
</div>
@@ -180,31 +180,31 @@
<%= key %>: <a target="_blank" class="app-url" href="<%= value %>"><%= value %></a>
</div>
<% end %>
<% end %>
</div>
-
+
<% if @options[:keywords] and @options[:keywords][language] %>
<div class="app-keyword">
<div class="cat-headline">Keywords</div>
<ul class="app-keyword-list">
<% split_keywords(@options[:keywords][language]).each do |keyword| %>
<li><%= keyword %></li>
<% end %>
</ul>
</div>
<% end %>
-
+
<% if @options[:description] %>
<div class="app-description">
<div class="cat-headline">Description</div>
<div class="app-description-text">
<%= (@options[:description][language] || '').gsub("\n", "<br />") %>
</div>
</div>
<% end %>
-
+
<% if @options[:release_notes] %>
<div class="app-changelog">
<div class="cat-headline">Changelog</div>
<%= (@options[:release_notes][language] || '').gsub("\n", "<br />") %>
</div>
@@ -214,11 +214,11 @@
<div class="app-changelog">
<div class="cat-headline">Promotional Text</div>
<%= (@options[:promotional_text][language] || '').gsub("\n", "<br />") %>
</div>
<% end %>
-
+
<div class="app-screenshots">
<div class="cat-headline">Screenshots</div>
<% if options[:skip_screenshots] %>
<h2 style="color: blue">Skipped Screenshots</h2>
@@ -235,11 +235,11 @@
<%# we are guaranteed to have at least one element because of the group_by %>
<h4><%= screenshots[0].formatted_name %></h4>
<div class="app-screenshot-row">
<% screenshots.each_with_index do |screenshot, index| %>
- <a href="<%= URI.escape(screenshot.path) %>" target="_blank"><img class="app-screenshot" src="<%= render_relative_path(@export_path, URI.escape(screenshot.path)) %>" title="Screenshot #<%=index%> for <%=language%>"></a>
+ <a href="<%= render_relative_path(@export_path, Addressable::URI.encode(screenshot.path)) %>" target="_blank"><img class="app-screenshot" src="<%= render_relative_path(@export_path, Addressable::URI.encode(screenshot.path)) %>" title="Screenshot #<%=index%> for <%=language%>"></a>
<% end %>
</div>
<% end %>
<% else %>
<!-- no screenshots -->
@@ -248,19 +248,19 @@
<p>
deliver couldn't find any screenshots.
<% if options[:overwrite_screenshots] %>
<b>--overwrite_screenshots</b> is set, existing screenshots will be removed, but none will be uploaded.
<% else %>
- The existing screenshots on App Store Connect will be kept.
+ The existing screenshots on App Store Connect will be kept.
if you want to remove them you have to use the <i>--overwrite_screenshots</i> flag.
<% end %>
<p>
If you want to download your existing screenshots, run <i>deliver download_screenshots</i>.
</p>
</div>
<% end %>
</div>
-
+
<hr />
<% end # end data
%>
<% if @options[:trade_representative_contact_information] %>
<div class="app-minor-information">