mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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>
|
</style>
|
||||||
{% endblock %}
|
{% 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 configuration %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
|
|
||||||
<h3>{% trans "Manage Repositories" %}</h3>
|
<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="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
{% if not repos %}
|
{% if not repos %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user