mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
gitweb: Move create button into manage section
- Also make it the default button rather than primary button to avoid multiple primary buttons in the page. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
eff9f619c7
commit
cc1aef969c
@ -40,19 +40,19 @@
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block status %}
|
||||
<a href="{% url 'gitweb:create' %}" class="btn btn-primary"
|
||||
role="button" title="{% trans 'Create repository' %}">
|
||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
||||
{% trans 'Create repository' %}
|
||||
</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block configuration %}
|
||||
{{ block.super }}
|
||||
|
||||
<h3>{% trans "Manage Repositories" %}</h3>
|
||||
|
||||
<div class="btn-toolbar">
|
||||
<a href="{% url 'gitweb:create' %}" class="btn btn-default"
|
||||
role="button" title="{% trans 'Create repository' %}">
|
||||
<span class="fa fa-plus" aria-hidden="true"></span>
|
||||
{% trans 'Create repository' %}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
{% if not repos %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user