Fix small issues

This commit is contained in:
rubenwardy 2018-12-22 13:16:45 +00:00
parent d61f77a805
commit a1700b5f7e
2 changed files with 2 additions and 5 deletions

@ -11,7 +11,7 @@
* Copyright 2011-2018 Twitter, Inc. * Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
/* @import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic"); */ @import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic");
:root { :root {
--blue: #375a7f; --blue: #375a7f;
--indigo: #6610f2; --indigo: #6610f2;

@ -171,9 +171,6 @@
<td>{% for meta in package.provides %} <td>{% for meta in package.provides %}
<a class="badge badge-primary" <a class="badge badge-primary"
href="{{ url_for('meta_package_page', name=meta.name) }}">{{ meta.name }}</a> href="{{ url_for('meta_package_page', name=meta.name) }}">{{ meta.name }}</a>
{%- if not loop.last %}
,
{% endif %}
{% endfor %}</td> {% endfor %}</td>
</tr> </tr>
{% endif %} {% endif %}
@ -258,7 +255,7 @@
<ul class="list-group list-group-flush"> <ul class="list-group list-group-flush">
{% for rel in releases %} {% for rel in releases %}
{% if rel.approved or package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %} {% if rel.approved or package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %}
<li class="list-group-item list-group-item-action"> <li class="list-group-item">
{% if package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %} {% if package.checkPerm(current_user, "MAKE_RELEASE") or package.checkPerm(current_user, "APPROVE_RELEASE") %}
<a class="btn btn-sm btn-primary float-right" href="{{ rel.getEditURL() }}">Edit <a class="btn btn-sm btn-primary float-right" href="{{ rel.getEditURL() }}">Edit