Skip to content

Commit

Permalink
GitHub issues are also cool
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jun 14, 2023
1 parent dbc5015 commit 2e02940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/atlases/_atlas_failed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="row">
<div class="twelve columns">
<p><%= _("Unfortunately, your atlas failed to render. It's possible that it was an intermittent error, in which case you should try re-creating the atlas. If the problem persists, please email %{email_url} with details.") % { email_url: mail_to("[email protected]", nil, replace_at: "[at]", class: "email", encode: "hex", subject: "Atlas #{atlas.slug} failed to render") } %></p>
<p><%= _("Unfortunately, your atlas failed to render. It's possible that it was an intermittent error, in which case you should try re-creating the atlas. If the problem persists, please %{open_issue} or email %{email_url} with details.") % { open_issue: link_to(_("open a GitHub issue"), "https://github.com/fieldpapers/fieldpapers/issues/"), email_url: mail_to("[email protected]", nil, replace_at: "[at]", class: "email", encode: "hex", subject: "Atlas #{atlas.slug} failed to render") } %></p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/snapshots/_failed.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<div class="row">
<div class="twelve columns">
<p><%= _("Unfortunately, your snapshot for image %{image_filename} failed to be processed. It's possible that it was an intermittent error, in which case you should try re-uploading. If the problem persists, please email %{email_url} with details.") % { email_url: mail_to("[email protected]", nil, replace_at: "[at]", class: "email", encode: "hex", subject: "Snapshot #{snapshot.slug} failed to process for image #{snapshot.image_filename}"), image_filename: snapshot.image_filename } %></p>
<p><%= _("Unfortunately, your snapshot for image %{image_filename} failed to be processed. It's possible that it was an intermittent error, in which case you should try re-uploading. If the problem persists, please %{open_issue} or email %{email_url} with details.") % { open_issue: link_to(_("open a GitHub issue"), "https://github.com/fieldpapers/fieldpapers/issues/"), email_url: mail_to("[email protected]", nil, replace_at: "[at]", class: "email", encode: "hex", subject: "Snapshot #{snapshot.slug} failed to process for image #{snapshot.image_filename}"), image_filename: snapshot.image_filename } %></p>
</div>
</div>
</div>
Expand Down

0 comments on commit 2e02940

Please sign in to comment.