thecore_ui_commons 3.3.2 → 3.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b139db37d97713ea9f025376e438e9bca180afc0be792219089cdf53e94a9a16
|
|
4
|
+
data.tar.gz: 37e112968a59444921342aac4b3a20dc895319097fc690d967f28c0baf9dfe49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a1eab6f1db0ddcd41569c1044088e3a70755b9156746273eb552d98c25d19edb0990fbe9c2d7196287f2aa4a89d04c2662dcc7c61ad82e1fbf6a2710ed7f5e67
|
|
7
|
+
data.tar.gz: 3ca02b2607961e1cb9e1ecfca1f0399593ec01d947a13f4d9fd750902c07dec1525d72bcdbf26734f549fa03b242263e3ccfc3f9ef24721d687a28c40744ddc3
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
class ApplicationController < ActionController::Base
|
|
2
2
|
before_action :setup_white_label
|
|
3
3
|
|
|
4
|
-
private
|
|
5
|
-
|
|
6
4
|
def setup_white_label
|
|
7
5
|
# Somewhat white label support
|
|
8
|
-
prepend_view_path(["vendor/custombuilds/#{ENV[
|
|
6
|
+
prepend_view_path(["vendor/custombuilds/#{ENV["COMPOSE_PROJECT_NAME"]}.#{ENV["BASE_DOMAIN"]}/deltas/app/views"]) if ENV["COMPOSE_PROJECT_NAME"].present? && ENV["BASE_DOMAIN"].present?
|
|
9
7
|
end
|
|
10
8
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_ui_commons
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
@@ -118,7 +118,6 @@ files:
|
|
|
118
118
|
- app/controllers/info_controller.rb
|
|
119
119
|
- app/helpers/thecore_helper.rb
|
|
120
120
|
- app/views/contact_mailer/contact_message.html.erb
|
|
121
|
-
- app/views/devise/shared/_links.html.erb
|
|
122
121
|
- app/views/info/swagger.html.erb
|
|
123
122
|
- app/views/kaminari/_first_page.html.erb
|
|
124
123
|
- app/views/kaminari/_gap.html.erb
|
|
@@ -182,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
182
181
|
- !ruby/object:Gem::Version
|
|
183
182
|
version: '0'
|
|
184
183
|
requirements: []
|
|
185
|
-
rubygems_version: 3.6.
|
|
184
|
+
rubygems_version: 3.6.9
|
|
186
185
|
specification_version: 4
|
|
187
186
|
summary: Common artifacts for the UIs.
|
|
188
187
|
test_files: []
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<%- if controller_name != 'sessions' %>
|
|
2
|
-
<p><%= link_to "Log in", new_session_path(resource_name) %></p>
|
|
3
|
-
<% end %>
|
|
4
|
-
|
|
5
|
-
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
|
6
|
-
<p><%= link_to "Sign up", new_registration_path(resource_name) %></p>
|
|
7
|
-
<% end %>
|
|
8
|
-
|
|
9
|
-
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
|
10
|
-
<p><%= link_to "Forgot your password?", new_password_path(resource_name) %></p>
|
|
11
|
-
<% end %>
|
|
12
|
-
|
|
13
|
-
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
|
14
|
-
<p><%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %></p>
|
|
15
|
-
<% end %>
|
|
16
|
-
|
|
17
|
-
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
|
18
|
-
<p><%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %></p>
|
|
19
|
-
<% end %>
|
|
20
|
-
|
|
21
|
-
<%- if devise_mapping.omniauthable? %>
|
|
22
|
-
<%- resource_class.omniauth_providers.each do |provider| %>
|
|
23
|
-
<p><%= button_to t("devise.omniauth.labels.#{provider.to_s}.html", default: OmniAuth::Utils.camelize(provider)), omniauth_authorize_path(resource_name, provider), data: { turbo: false } %></p>
|
|
24
|
-
<% end %>
|
|
25
|
-
<% end %>
|