adjust logout position; add api note data updates; modify chart titles

This commit is contained in:
crflynn
2018-04-06 23:36:30 -04:00
parent 3d8247886f
commit 505e9ceecf
3 changed files with 3 additions and 1 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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