aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/repos.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/repos.html.jinja7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/repos.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
index 94b7e2b..05c948e 100644
--- a/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
@@ -28,6 +28,11 @@ in a proprietary work, I am not going to enforce this in court.
{% endblock %}
{% block main %}
<h3>{{ _('web_ui.repos.heading') }}</h3>
+ <div>
+ <a href="{{ url_for('.add_repo_get') }}" class="button">
+ {{ _('web_ui.repos.add_repo_button') }}
+ </a>
+ </div>
<ul id="item_list">
{% for info in display_infos %}
<li
@@ -51,7 +56,7 @@ in a proprietary work, I am not going to enforce this in court.
</li>
{% endfor %}
<li>
- <a href="{{ url_for('.show_repo', repo_id=1) }}">
+ <a href="{{ url_for('.show_repo', repo_id=local_semirepo_info.ref.id) }}">
{{ _('web_ui.repos.local_packages_semirepo') }}
<div class="small-print">
{{