mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-06 04:21:09 +00:00
adjust logout position; add api note data updates; modify chart titles
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
<li>All download stats exclude known mirrors (such as
|
||||
<a href="{{ url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</li>
|
||||
<li>Time series data is retained only for 30 days.</li>
|
||||
<li>All download data is updated once daily.</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h2>Endpoints</h2>
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
<a href="{{ url_for('user.user')}}">My Packages</a>
|
||||
{% endif %}
|
||||
<br>
|
||||
<br>
|
||||
<a href="{{ url_for('user.logout') }}">Logout</a>
|
||||
</p>
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ def package(package):
|
||||
data.append(base)
|
||||
plot["data"] = data
|
||||
plot["layout"]["title"] = \
|
||||
f"Downloads by {model['name'].title().replace('_', ' ')}"
|
||||
f"Downloads of {package} package - {model['name'].title().replace('_', ' ')}" # noqa
|
||||
plots.append(plot)
|
||||
|
||||
# Recent download stats
|
||||
|
||||
Reference in New Issue
Block a user