From 0f97ace7fd0cfcdd28574033739a659a732835c8 Mon Sep 17 00:00:00 2001
From: weeklies <80141759+weeklies@users.noreply.github.com>
Date: Sun, 20 Aug 2023 11:42:56 +0800
Subject: [PATCH] AO3-6058 Hi Reviewdog
---
.../downloads/_download_afterword.html.erb | 4 ++--
.../downloads/_download_preface.html.erb | 4 ++--
.../works/_work_approved_children.html.erb | 18 ++++++++---------
app/views/works/_work_header_notes.html.erb | 20 +++++++++----------
4 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/app/views/downloads/_download_afterword.html.erb b/app/views/downloads/_download_afterword.html.erb
index 739100f6529..e088f755090 100644
--- a/app/views/downloads/_download_afterword.html.erb
+++ b/app/views/downloads/_download_afterword.html.erb
@@ -22,8 +22,8 @@
<% if child_work.work.is_a?(ExternalWork) || !child_work.work.unrevealed? %>
<%= t(".inspired_by.revealed_html",
- work_link: work_link,
- creator_link: creator_link) %>
+ work_link: work_link,
+ creator_link: creator_link) %>
<% else %>
<%= t(".inspired_by.unrevealed") %>
<% end %>
diff --git a/app/views/downloads/_download_preface.html.erb b/app/views/downloads/_download_preface.html.erb
index bbdb093988a..be15dbfb1b6 100644
--- a/app/views/downloads/_download_preface.html.erb
+++ b/app/views/downloads/_download_preface.html.erb
@@ -76,8 +76,8 @@
<% if work.parent.is_a?(ExternalWork) || !work.parent.unrevealed? %>
<%= t(".#{relation}.revealed_html",
- work_link: work_link,
- creator_link: creator_link) %>
+ work_link: work_link,
+ creator_link: creator_link) %>
<% else %>
<%= t(".#{relation}.unrevealed") %>
<% end %>
diff --git a/app/views/works/_work_approved_children.html.erb b/app/views/works/_work_approved_children.html.erb
index 1927afac352..97b614bafca 100644
--- a/app/views/works/_work_approved_children.html.erb
+++ b/app/views/works/_work_approved_children.html.erb
@@ -11,20 +11,20 @@
<% if child_work.work.is_a?(ExternalWork) %>
<%= t(".inspired_by.revealed_html",
- language: language,
- work_link: work_link,
- creator_link: creator_link) %>
+ language: language,
+ work_link: work_link,
+ creator_link: creator_link) %>
<% elsif child_work.work.unrevealed? %>
<%= t(".inspired_by.unrevealed") %>
<% elsif child_work.work.restricted? && !logged_in? %>
<%= t(".inspired_by.restricted_html",
- language: language,
- creator_link: creator_link ) %>
+ language: language,
+ creator_link: creator_link) %>
<% else %>
- <%= t(".inspired_by.revealed_html",
- language: language,
- work_link: work_link,
- creator_link: creator_link) %>
+ <%= t(".inspired_by.revealed_html",
+ language: language,
+ work_link: work_link,
+ creator_link: creator_link) %>
<% end %>
<% end %>
diff --git a/app/views/works/_work_header_notes.html.erb b/app/views/works/_work_header_notes.html.erb
index 440b5f63846..40831dcf8a9 100644
--- a/app/views/works/_work_header_notes.html.erb
+++ b/app/views/works/_work_header_notes.html.erb
@@ -22,13 +22,13 @@
<% if related_work.work.restricted? && !logged_in? %>
<%= t(".translated_to.restricted_html",
- language: language,
- creator_link: creator_link ) %>
+ language: language,
+ creator_link: creator_link) %>
<% else %>
<%= t(".translated_to.revealed_html",
- language: language,
- work_link: work_link,
- creator_link: creator_link) %>
+ language: language,
+ work_link: work_link,
+ creator_link: creator_link) %>
<% end %>
<% else %>
@@ -46,16 +46,16 @@
<% if related_work.parent.is_a?(ExternalWork) %>
<%= t(".#{relation}.revealed_html",
- work_link: work_link,
- creator_link: creator_link) %>
+ work_link: work_link,
+ creator_link: creator_link) %>
<% elsif related_work.parent.unrevealed? %>
<%= t(".#{relation}.unrevealed") %>
<% elsif related_work.parent.restricted? && !logged_in? %>
- <%= t(".#{relation}.restricted_html", creator_link: creator_link ) %>
+ <%= t(".#{relation}.restricted_html", creator_link: creator_link) %>
<% else %>
<%= t(".#{relation}.revealed_html",
- work_link: work_link,
- creator_link: creator_link) %>
+ work_link: work_link,
+ creator_link: creator_link) %>
<% end %>
<% end %>