-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-submodule-remove-simple-schema-loader…
…-decorator
- Loading branch information
Showing
13 changed files
with
117 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
# OVERRIDE Hyrax v5.0.0rc2 + Hyku v6.0 - to set custom collection thumbnail default | ||
|
||
module Adl | ||
module ThumbnailPathServiceDecorator | ||
def default_collection_image | ||
Site.instance.default_collection_image&.url || ActionController::Base.helpers.image_path('default-collection.png') | ||
end | ||
end | ||
end | ||
|
||
Hyrax::ThumbnailPathServiceDecorator.prepend(Adl::ThumbnailPathServiceDecorator) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
<ul id="user_utility_links" class="nav navbar-nav navbar-right"> | ||
<ul id="user_utility_links" class="navbar-nav ml-auto"> | ||
<%= render 'shared/locale_picker' if available_translations.size > 1 %> | ||
<% if current_ability.user_groups.include?('admin') %> | ||
<li> | ||
<li class="nav-item"> | ||
<%= render_notifications(user: current_user) %> | ||
</li> | ||
<li class="dropdown"> | ||
<%= link_to hyrax.dashboard_profile_path(current_user), role: 'button', data: { toggle: 'dropdown' }, aria: { haspopup: true, expanded: false, controls: 'user-util-links' } do %> | ||
<%= link_to hyrax.dashboard_profile_path(current_user), class: 'nav-link dropdown-toggle', id: 'navbarDropdown', role: 'button', data: { toggle: 'dropdown' }, aria: { haspopup: true, expanded: false } do %> | ||
<span class="sr-only"><%= t("hyrax.toolbar.profile.sr_action") %></span> | ||
<span class="hidden-xs"> <%= current_user.name %></span> | ||
<%= current_user.name %> | ||
<span class="sr-only"> <%= t("hyrax.toolbar.profile.sr_target") %></span> | ||
<span class="fa fa-user" aria-hidden="true"></span> | ||
<span class="caret"></span> | ||
<i class="fa fa-user" aria-hidden="true"></i> | ||
<% end %> | ||
<ul id="user-util-links" class="dropdown-menu dropdown-menu-right" role="menu"> | ||
<li><%= link_to t("hyrax.toolbar.dashboard.menu"), hyrax.dashboard_path %></li> | ||
|
||
<li class="divider"></li> | ||
<li><%= link_to t("hyku.toolbar.profile.edit_registration"), main_app.edit_user_registration_path %></li> | ||
<li><%= link_to t("hyrax.toolbar.profile.logout"), main_app.destroy_user_session_path %></li> | ||
</ul> | ||
<div id="user-util-links" class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown"> | ||
<a class="dropdown-item" href="<%= hyrax.dashboard_path %>"><%= t("hyrax.toolbar.dashboard.menu") %></a> | ||
<% if Flipflop.show_login_link? || current_ability.user_groups.include?('admin') %> | ||
<div class="dropdown-divider"></div> | ||
<% if Devise.mappings[:user]&.registerable? %> | ||
<a class="dropdown-item" href="<%= main_app.edit_user_registration_path %>"><%= t("hyku.toolbar.profile.edit_registration") %></a> | ||
<% end %> | ||
<a class="dropdown-item" href="<%= main_app.destroy_user_session_path %>"><%= t("hyrax.toolbar.profile.logout") %></a> | ||
<% end %> | ||
</div> | ||
</li><!-- /.btn-group --> | ||
<% end %> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# These settings are to provide information about your theme | ||
# and should follow the format | ||
# theme: | ||
# name: Theme notes | ||
# notes: Notes about the theme you want to display | ||
# | ||
default_show: | ||
name: Default Show Page | ||
notes: This is the default Hyku show page. It is recommended for use with cultural repositories. | ||
cultural_show: | ||
name: Cultural Show Page | ||
notes: This image based show page is recommended for cultural repositories. | ||
scholarly_show: | ||
name: Scholarly Show Page | ||
notes: This text based show page is recommended for institutional repositories. | ||
reshare_show: | ||
name: ReShare Show Page | ||
notes: For ReShare CDL Pilot use only, do not use unless instructed to do so. | ||
|
Submodule hyrax-webapp
updated
82 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.