Skip to content

Commit

Permalink
Add links to statistics third-parties (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlhkabu authored Mar 29, 2018
1 parent 14b5a98 commit efc7eec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions warehouse/static/sass/blocks/_author-profile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

&__info {
padding-top: $spacing-unit;
margin-bottom: $spacing-unit;
}

&__name {
Expand Down
5 changes: 5 additions & 0 deletions warehouse/templates/accounts/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ <h1 class="author-profile__name">{{ user.name }}</h1>
{% csi request.route_path("includes.edit-profile-button", username=user.username) %}
{% endcsi %}
</div>

<div class="sidebar-section">
<h3 class="sidebar-section__title">Statistics</h3>
<p>View statistics for your projects via <a href="https://libraries.io/">Libraries.io</a>, or by using <a href="https://packaging.python.org/guides/analyzing-pypi-package-downloads/">Google BigQuery</a>.</p>
</div>
</div>
</div>

Expand Down
5 changes: 5 additions & 0 deletions warehouse/templates/packaging/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ <h3 class="sidebar-section__title">Maintainers</h3>
{% endfor %}
</div>

<div class="sidebar-section">
<h3 class="sidebar-section__title">Statistics</h3>
<p>View statistics for this project via <a href="https://libraries.io/pypi/{{ release.project.name }}">Libraries.io</a>, or by using <a href="https://packaging.python.org/guides/analyzing-pypi-package-downloads/">Google BigQuery</a>.</p>
</div>

{% if release.classifiers %}
<div class="sidebar-section classifiers">
<h3>Classifiers</h3>
Expand Down

0 comments on commit efc7eec

Please sign in to comment.