From 14e02581f2d26e42621b4823e9719ddb161d7e90 Mon Sep 17 00:00:00 2001 From: Daniel Pierce Date: Mon, 16 Sep 2024 11:52:31 -0400 Subject: [PATCH 1/2] Copy of _work_title from hyrax --- app/views/hyrax/base/_work_title.erb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/views/hyrax/base/_work_title.erb diff --git a/app/views/hyrax/base/_work_title.erb b/app/views/hyrax/base/_work_title.erb new file mode 100644 index 0000000..b803409 --- /dev/null +++ b/app/views/hyrax/base/_work_title.erb @@ -0,0 +1,13 @@ +
+ <% presenter.title.each_with_index do |title, index| %> + <% if index == 0 %> +
+

<%= title %>

+ <%= presenter.permission_badge %> + <%= presenter.workflow.badge %> +
+ <% else %> +

<%= title %>

+ <% end %> + <% end %> +
From eab1cc3a1a64051fab468c6a38d31556e5dd1b5b Mon Sep 17 00:00:00 2001 From: Daniel Pierce Date: Mon, 16 Sep 2024 11:52:48 -0400 Subject: [PATCH 2/2] Disable badges --- app/views/hyrax/base/_work_title.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/hyrax/base/_work_title.erb b/app/views/hyrax/base/_work_title.erb index b803409..4635e69 100644 --- a/app/views/hyrax/base/_work_title.erb +++ b/app/views/hyrax/base/_work_title.erb @@ -3,8 +3,8 @@ <% if index == 0 %>

<%= title %>

- <%= presenter.permission_badge %> - <%= presenter.workflow.badge %> + <%#= presenter.permission_badge %> + <%#= presenter.workflow.badge %>
<% else %>

<%= title %>