docbrown/app/views/users/_integrations_github_repositories.html.erb
rhymes 81fff248dd
Refactoring GitHub Repos functionality - step 1 (#7764)
* Rename find_or_create to upsert and improve validation and testing

* Add User.authenticated_through?

* Refactor settings/integrations

* Refactor profile github repositories rendering

* Refactor repos fetching

* Only fetch a single repo and improve error messages

* Remove unused code

* Cleanups

* Fix specs

* Remove trailing whitespace

* Fix spec

* Trigger Travis
2020-05-12 13:48:19 +02:00

12 lines
343 B
Text

<% if show_integration %>
<div class="crayons-card grid gap-6 p-6 mb-6">
<h3>Pin a few of your GitHub repositories to your profile</h3>
<div id="github-repos-container">
<div class="github-repos loading-repos">
</div>
</div>
<%= javascript_packs_with_chunks_tag "githubRepos", defer: true %>
</div>
<% end %>