Commit a74d3847 authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

fix the urls displayed in the webapp import page

parent ac243986
......@@ -392,7 +392,7 @@ class WebappImport(ProviderAccessMixin, SuccessMessageMixin, FormView):
def get_context_data(self, **kwargs):
ctx=super().get_context_data()
ctx["import_url"] = config.env.ALLGO_IMPORT_URL+"/apps"
ctx["import_url"] = config.env.ALLGO_IMPORT_URL
ctx["imported_apps"] = Webapp.objects.filter(
imported=True, user=self.request.user).order_by("name")
return ctx
......
......@@ -11,7 +11,7 @@
{% block content %}
<div class="container">
<div class="allgo-page">
<h3>Import an application from <a href="{{import_url}}">{{ import_url }}</a></h3>
<h3>Import an application from <a href="{{import_url}}/apps">{{ import_url }}</a></h3>
<p>Please provide either the ID or the short name of the application you
wish to import.</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment