aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-08 09:26:06 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-08 09:26:06 -0400
commit174484a51cfc99e2194480a7e7513694028eecb3 (patch)
tree1832c46d75df3e10eb7c9fca7e05cecf740a77d4 /view
parentf73a74967ec0d68756743cd17fae65a5b2245628 (diff)
downloadvolse-hubzilla-174484a51cfc99e2194480a7e7513694028eecb3.tar.gz
volse-hubzilla-174484a51cfc99e2194480a7e7513694028eecb3.tar.bz2
volse-hubzilla-174484a51cfc99e2194480a7e7513694028eecb3.zip
Custom addon repo name option added.
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/admin_plugins.tpl3
-rw-r--r--view/tpl/admin_plugins_addrepo.tpl1
2 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl
index 9e1d05a44..87d380a01 100755
--- a/view/tpl/admin_plugins.tpl
+++ b/view/tpl/admin_plugins.tpl
@@ -54,9 +54,10 @@
function adminPluginsAddRepo() {
var repoURL = $('#id_repoURL').val();
+ var repoName = $('#id_repoName').val();
$('#chat-rotator').spin('tiny');
$.post(
- "/admin/plugins/addrepo", {repoURL: repoURL},
+ "/admin/plugins/addrepo", {repoURL: repoURL, repoName: repoName},
function(response) {
$('#chat-rotator').spin(false);
if (response.success) {
diff --git a/view/tpl/admin_plugins_addrepo.tpl b/view/tpl/admin_plugins_addrepo.tpl
index fe5fecc25..de7b465bb 100644
--- a/view/tpl/admin_plugins_addrepo.tpl
+++ b/view/tpl/admin_plugins_addrepo.tpl
@@ -2,6 +2,7 @@
<p class="descriptive-text">{{$desc}}</p>
{{include file="field_input.tpl" field=$repoURL}}
+ {{include file="field_input.tpl" field=$repoName}}
<div class="btn-group pull-right">
<button id="add-plugin-repo-submit" class="btn btn-primary" type="submit" name="submit" onclick="adminPluginsAddRepo(); return false;">{{$submit}}</button>
</div>