2024-04-04 20:34:38
This commit is contained in:
parent
e5d6ec54b1
commit
bc7ba12390
|
@ -52,7 +52,7 @@ GitHub organization.
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.org.repos") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($org.html_url) }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($org.html_url) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.org.repos") }}'>
|
||||
<i class="fas fa-book fa-fw me-1"></i>
|
||||
|
@ -63,7 +63,7 @@ GitHub organization.
|
|||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.org.blog") }}'>
|
||||
{{ $url := (urls.Parse ($org.blog)) }}{{ $scheme := "http://" }}
|
||||
{{ if ($url.Scheme) }}{{ $scheme = "" }}{{ end }}
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($scheme) }}{{ ($org.blog) }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($scheme) }}{{ ($org.blog) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.org.blog") }}'>
|
||||
<i class="fas fa-globe fa-fw"></i>
|
||||
|
@ -72,7 +72,7 @@ GitHub organization.
|
|||
{{ end }}
|
||||
{{ if ($org.twitter_username) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.org.twitter") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="https://twitter.com/{{ ($org.twitter_username) }}"
|
||||
<a class="btn btn-light btn-sm" href="https://twitter.com/{{ ($org.twitter_username) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.org.twitter") }}'>
|
||||
<i class="fab fa-twitter fa-fw"></i>
|
||||
|
@ -81,7 +81,7 @@ GitHub organization.
|
|||
{{ end }}
|
||||
{{ if ($org.email) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.org.email") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="mailto:{{ ($org.email) }}"
|
||||
<a class="btn btn-light btn-sm" href="mailto:{{ ($org.email) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.org.email") }}'>
|
||||
<i class="fas fa-envelope-open-text fa-fw"></i>
|
||||
|
|
|
@ -35,28 +35,28 @@
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.repo.language") }}'>
|
||||
<i class="fas fa-code fa-fw me-1"></i>
|
||||
<span class="gh-repo-language">#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.repo.subscribers") }}'>
|
||||
<i class="fas fa-eye fa-fw me-1"></i>
|
||||
<span class="gh-repo-subscribers">#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.repo.stargazers") }}'>
|
||||
<i class="fas fa-star fa-fw me-1"></i>
|
||||
<span class="gh-repo-stars">#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.repo.forks") }}'>
|
||||
<i class="fas fa-code-branch fa-fw me-1"></i>
|
||||
<span class="gh-repo-forks">#</span>
|
||||
|
|
|
@ -54,7 +54,7 @@ GitHub user organizations.
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.org.repos") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($org.html_url) }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($org.html_url) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.org.repos") }}'>
|
||||
<i class="fas fa-book fa-fw me-1"></i>
|
||||
|
@ -65,7 +65,7 @@ GitHub user organizations.
|
|||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.org.blog") }}'>
|
||||
{{ $url := (urls.Parse ($org.blog)) }}{{ $scheme := "http://" }}
|
||||
{{ if ($url.Scheme) }}{{ $scheme = "" }}{{ end }}
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($scheme) }}{{ ($org.blog) }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($scheme) }}{{ ($org.blog) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.org.blog") }}'>
|
||||
<i class="fas fa-globe fa-fw"></i>
|
||||
|
@ -74,7 +74,7 @@ GitHub user organizations.
|
|||
{{ end }}
|
||||
{{ if ($org.twitter_username) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.org.twitter") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="https://twitter.com/{{ ($org.twitter_username) }}"
|
||||
<a class="btn btn-light btn-sm" href="https://twitter.com/{{ ($org.twitter_username) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.org.twitter") }}'>
|
||||
<i class="fab fa-twitter fa-fw"></i>
|
||||
|
@ -83,7 +83,7 @@ GitHub user organizations.
|
|||
{{ end }}
|
||||
{{ if ($org.email) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.org.email") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="mailto:{{ ($org.email) }}"
|
||||
<a class="btn btn-light btn-sm" href="mailto:{{ ($org.email) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.org.email") }}'>
|
||||
<i class="fas fa-envelope-open-text fa-fw"></i>
|
||||
|
|
|
@ -57,7 +57,7 @@ GitHub user repositories.
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.repo.stargazers") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ (.html_url) }}/stargazers"
|
||||
<a class="btn btn-light btn-sm" href="{{ (.html_url) }}/stargazers"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.repo.stargazers") }}'>
|
||||
<i class="fas fa-star fa-fw me-1"></i>
|
||||
|
@ -65,7 +65,7 @@ GitHub user repositories.
|
|||
</a>
|
||||
</div>
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.repo.forks") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ (.html_url) }}/network/members"
|
||||
<a class="btn btn-light btn-sm" href="{{ (.html_url) }}/network/members"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.repo.forks") }}'>
|
||||
<i class="fas fa-code-branch fa-fw me-1"></i>
|
||||
|
@ -75,7 +75,7 @@ GitHub user repositories.
|
|||
{{ if (.license) }}
|
||||
{{ $license := (getJSON (.license.url) "?ts=" ($ts) ($headers)) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.repo.license") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($license.html_url) }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($license.html_url) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.github.user.repo.license") }}'>
|
||||
<i class="fas fa-copyright fa-fw me-1"></i>
|
||||
|
|
|
@ -34,21 +34,21 @@
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.repos") }}'>
|
||||
<i class="fas fa-book fa-fw me-1"></i>
|
||||
<span class="gh-user-repos">#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.followers") }}'>
|
||||
<i class="fas fa-user-friends fa-fw me-1"></i>
|
||||
<span class="gh-user-followers">#</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="btn btn-light btn-sm text-body-secondary"
|
||||
<div class="btn btn-light btn-sm"
|
||||
data-bs-tooltip data-bs-title='{{ (i18n "sc.github.user.following") }}'>
|
||||
<i class="fas fa-user-check fa-fw me-1"></i>
|
||||
<span class="gh-user-following">#</span>
|
||||
|
|
|
@ -57,7 +57,7 @@ GitLab repository.
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.repo.issues") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($project.web_url) }}/-/issues"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($project.web_url) }}/-/issues"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.repo.issues") }}'>
|
||||
<i class="fas fa-info-circle fa-fw me-1"></i>
|
||||
|
@ -65,7 +65,7 @@ GitLab repository.
|
|||
</a>
|
||||
</div>
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.repo.starrers") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($project.web_url) }}/-/starrers"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($project.web_url) }}/-/starrers"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.repo.starrers") }}'>
|
||||
<i class="fas fa-star fa-fw me-1"></i>
|
||||
|
@ -73,7 +73,7 @@ GitLab repository.
|
|||
</a>
|
||||
</div>
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.repo.forks") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($project.web_url) }}/-/forks"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($project.web_url) }}/-/forks"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.repo.forks") }}'>
|
||||
<i class="fas fa-code-branch fa-fw me-1"></i>
|
||||
|
@ -82,7 +82,7 @@ GitLab repository.
|
|||
</div>
|
||||
{{ if ($project.license_url) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.repo.license") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ $project.license.html_url }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ $project.license.html_url }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.repo.license") }}'>
|
||||
<i class="fas fa-copyright fa-fw me-1"></i>
|
||||
|
|
|
@ -54,7 +54,7 @@ GitLab user.
|
|||
<div class="mt-auto">
|
||||
<div class="row row-cols-auto g-2 mt-3">
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.user.followers") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($user.web_url) }}/followers"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($user.web_url) }}/followers"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.user.followers") }}'>
|
||||
<i class="fas fa-user-friends fa-fw me-1"></i>
|
||||
|
@ -62,7 +62,7 @@ GitLab user.
|
|||
</a>
|
||||
</div>
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.user.following") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($user.web_url) }}/following"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($user.web_url) }}/following"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.user.following") }}'>
|
||||
<i class="fas fa-user-check fa-fw me-1"></i>
|
||||
|
@ -71,7 +71,7 @@ GitLab user.
|
|||
</div>
|
||||
{{ if ($user.linkedin) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.user.linkedin") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="https://linkedin.com/in/{{ ($user.linkedin) }}"
|
||||
<a class="btn btn-light btn-sm" href="https://linkedin.com/in/{{ ($user.linkedin) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.user.linkedin") }}'>
|
||||
<i class="fab fa-linkedin-in fa-fw"></i>
|
||||
|
@ -80,7 +80,7 @@ GitLab user.
|
|||
{{ end }}
|
||||
{{ if ($user.twitter) }}
|
||||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.user.twitter") }}'>
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="https://twitter.com/{{ ($user.twitter) }}"
|
||||
<a class="btn btn-light btn-sm" href="https://twitter.com/{{ ($user.twitter) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.user.twitter") }}'>
|
||||
<i class="fab fa-twitter fa-fw"></i>
|
||||
|
@ -91,7 +91,7 @@ GitLab user.
|
|||
<div class="col" data-bs-tooltip data-bs-title='{{ (i18n "sc.gitlab.user.site") }}'>
|
||||
{{ $url := (urls.Parse ($user.website_url)) }}{{ $scheme := "http://" }}
|
||||
{{ if ($url.Scheme) }}{{ $scheme = "" }}{{ end }}
|
||||
<a class="btn btn-light btn-sm text-body-secondary" href="{{ ($scheme) }}{{ ($user.website_url) }}"
|
||||
<a class="btn btn-light btn-sm" href="{{ ($scheme) }}{{ ($user.website_url) }}"
|
||||
target="_blank" rel="noopener nofollow"
|
||||
role="button" aria-label='{{ (i18n "sc.gitlab.user.site") }}'>
|
||||
<i class="fas fa-globe fa-fw"></i>
|
||||
|
|
Loading…
Reference in New Issue