aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-07-04 08:28:22 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-07-04 08:28:22 +0200
commit43b23197ffc3e1d08a1e08b09dbb31f06692d7ff (patch)
tree9451bb6d3e84ee486060bd9760e0602ae0409c99 /data
parent7a46f728adc38e3507f83015354cfbdd2de7969e (diff)
downloadphorkie-43b23197ffc3e1d08a1e08b09dbb31f06692d7ff.tar.gz
phorkie-43b23197ffc3e1d08a1e08b09dbb31f06692d7ff.zip
warn about remote fork config in setup and help
Diffstat (limited to 'data')
-rw-r--r--data/templates/help.htm15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/templates/help.htm b/data/templates/help.htm
index 555a738..a17aa50 100644
--- a/data/templates/help.htm
+++ b/data/templates/help.htm
@@ -46,4 +46,19 @@ function registerHandler() {
</a>
</div>
</div>
+
+<h3 id="fork-check">Setup check</h3>
+<p>
+ You need to activate public clone URLs in your config file.
+ Otherwise forking onto remote systems will not work.
+</p>
+{% if publicGitUrl %}
+<div class="alert alert-success">
+ OK! A public git URL prefix is configured: <tt>{{publicGitUrl}}</tt>
+</div>
+{% else %}
+<div class="alert alert-error">
+ Error! No public git URL prefix configured.
+</div>
+{% endif %}
{% endblock %}