diff --git a/app/models/communication/website/imported/website.rb b/app/models/communication/website/imported/website.rb index 29f49c40860b7a93cb685d0faee407e01bed908e..dfc68e8b333e21e8a7eefda840c2ba9b5c914c2f 100644 --- a/app/models/communication/website/imported/website.rb +++ b/app/models/communication/website/imported/website.rb @@ -35,6 +35,7 @@ class Communication::Website::Imported::Website < ApplicationRecord sync_pages sync_posts end + handle_asynchronously :run!, queue: 'default' protected diff --git a/app/services/github.rb b/app/services/github.rb index fcad5261cbca3a9881a7325a87809cb2e8afbf48..9b33158fda7897082abd6a61c5b6c1c1486968db 100644 --- a/app/services/github.rb +++ b/app/services/github.rb @@ -30,6 +30,7 @@ class Github file: local_path, sha: sha rescue + # byebug end def send_file(attachment, path) @@ -48,6 +49,7 @@ class Github attachment.download, sha: sha rescue + # byebug end def read_file_at(path) diff --git a/app/views/admin/application/_nav.html.erb b/app/views/admin/application/_nav.html.erb index 73dd0107954c814f018189fc65f2f7bae72dbc57..471a87ba4d8da9be368254c059c30bc461bac39c 100644 --- a/app/views/admin/application/_nav.html.erb +++ b/app/views/admin/application/_nav.html.erb @@ -5,9 +5,8 @@ <% end %> <%= render_navigation context: :admin %> - <footer class="text-center"> - <%= current_university %> - <br> + <footer class="small my-5"> + <hr> <%= link_to t('terms_of_service'), t('terms_of_service_url'), target: '_blank', rel: 'noreferrer', class: 'sidebar-link' %> <%= link_to t('privacy_policy'), t('privacy_policy_url'), target: '_blank', rel: 'noreferrer', class: 'sidebar-link' %> <%= link_to t('cookies_policy'), t('cookies_policy_url'), target: '_blank', rel: 'noreferrer', class: 'sidebar-link' %>