Skip to content

Commit 127514f

Browse files
authored
Merge branch 'main' into Fix-unsupported-ARIA-attributes-in-dashboard
2 parents f441894 + 1a642ac commit 127514f

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

app/assets/stylesheets/hyrax/_styles.scss

+4
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@ label.disabled {
7272
margin-bottom: 1rem;
7373
}
7474
}
75+
76+
#content_block_page {
77+
display: block;
78+
}

app/views/hyrax/admin/features/index.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<table class="table table-striped">
1010
<thead>
1111
<tr>
12-
<th></th>
12+
<th>Status</th>
1313
<th class="name"><%= t('.feature') %></th>
1414
<th class="description"><%= t('.description') %></th>
1515
<th class="action"><%= t('.action') %></th>

app/views/hyrax/content_blocks/_form.html.erb

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</div>
3030
<div class="card-footer d-flex justify-content-end">
3131
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
32-
<%= link_to t(:'hyrax.content_blocks.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
32+
<%= link_to t(:'hyrax.content_blocks.cancel'), hyrax.edit_content_blocks_path, class: 'btn btn-light' %>
3333
</div>
3434
<% end %>
3535
</div>
@@ -45,7 +45,7 @@
4545
</div>
4646
<div class="card-footer d-flex justify-content-end">
4747
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
48-
<%= link_to t(:'hyrax.content_blocks.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
48+
<%= link_to t(:'hyrax.content_blocks.cancel'), hyrax.edit_content_blocks_path, class: 'btn btn-light' %>
4949
</div>
5050
<% end %>
5151
</div>
@@ -61,7 +61,7 @@
6161
</div>
6262
<div class="card-footer d-flex justify-content-end">
6363
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
64-
<%= link_to t(:'hyrax.content_blocks.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
64+
<%= link_to t(:'hyrax.content_blocks.cancel'), hyrax.edit_content_blocks_path, class: 'btn btn-light' %>
6565
</div>
6666
<% end %>
6767
</div>

app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</td>
88
<td>
99
<div class="media">
10-
<%= link_to [main_app, document], "class" => "media-left mr-3", "aria-hidden" => "true" do %>
10+
<%= link_to [main_app, document], "class" => "media-left mr-3" do %>
1111
<%= document_presenter(document)&.thumbnail&.thumbnail_tag(
1212
{ class: "d-none d-md-block file_listing_thumbnail", alt: document.title_or_label }, { suppress_link: true }
1313
) %>

app/views/hyrax/pages/_form.html.erb

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</div>
3737
<div class="card-footer d-flex justify-content-end">
3838
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
39-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
39+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.edit_pages_path, class: 'btn btn-light' %>
4040
</div>
4141
<% end %>
4242
</div>
@@ -52,7 +52,7 @@
5252
</div>
5353
<div class="card-footer d-flex justify-content-end">
5454
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
55-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
55+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.edit_pages_path, class: 'btn btn-light' %>
5656
</div>
5757
<% end %>
5858
</div>
@@ -68,7 +68,7 @@
6868
</div>
6969
<div class="card-footer d-flex justify-content-end">
7070
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
71-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
71+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.edit_pages_path, class: 'btn btn-light' %>
7272
</div>
7373
<% end %>
7474
</div>
@@ -84,7 +84,7 @@
8484
</div>
8585
<div class="card-footer d-flex justify-content-end">
8686
<%= f.button :submit, class: 'btn btn-primary text-white mr-2' %>
87-
<%= link_to t(:'hyrax.pages.cancel'), hyrax.admin_admin_sets_path, class: 'btn btn-light' %>
87+
<%= link_to t(:'hyrax.pages.cancel'), hyrax.edit_pages_path, class: 'btn btn-light' %>
8888
</div>
8989
<% end %>
9090
</div>

0 commit comments

Comments
 (0)