mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Remove residual comments about old doc
This commit is contained in:
parent
b58ea7a34c
commit
e054675230
1 changed files with 4 additions and 4 deletions
|
@ -599,7 +599,7 @@
|
||||||
y18n.t('applications'),
|
y18n.t('applications'),
|
||||||
y18n.t('confirm_uninstall', [c.params['app']]),
|
y18n.t('confirm_uninstall', [c.params['app']]),
|
||||||
function() {
|
function() {
|
||||||
c.api('DELETE', '/apps/'+ c.params['app'], {}, function() { // http://api.yunohost.org/#!/app/app_remove_delete_4
|
c.api('DELETE', '/apps/'+ c.params['app'], {}, function() {
|
||||||
c.redirect_to('#/apps');
|
c.redirect_to('#/apps');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -756,7 +756,7 @@
|
||||||
// Change app label
|
// Change app label
|
||||||
app.post('#/apps/:app/changelabel', function (c) {
|
app.post('#/apps/:app/changelabel', function (c) {
|
||||||
params = {'new_label': c.params['label']};
|
params = {'new_label': c.params['label']};
|
||||||
c.api('PUT', '/apps/' + c.params['app'] + '/label', params, function(data) { // Call changelabel API
|
c.api('PUT', '/apps/' + c.params['app'] + '/label', params, function(data) {
|
||||||
c.redirect_to('#/apps/'+ c.params['app']);
|
c.redirect_to('#/apps/'+ c.params['app']);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -764,7 +764,7 @@
|
||||||
// Get app change URL page
|
// Get app change URL page
|
||||||
app.get('#/apps/:app/changeurl', function (c) {
|
app.get('#/apps/:app/changeurl', function (c) {
|
||||||
c.api('GET', '/apps/'+c.params['app']+'?raw', {}, function(app_data) {
|
c.api('GET', '/apps/'+c.params['app']+'?raw', {}, function(app_data) {
|
||||||
c.api('GET', '/domains', {}, function(domain_data) { // http://api.yunohost.org/#!/domain/domain_list_get_2
|
c.api('GET', '/domains', {}, function(domain_data) {
|
||||||
|
|
||||||
// Display a list of available domains
|
// Display a list of available domains
|
||||||
var domains = [];
|
var domains = [];
|
||||||
|
@ -796,7 +796,7 @@
|
||||||
y18n.t('confirm_app_change_url', [c.params['app']]),
|
y18n.t('confirm_app_change_url', [c.params['app']]),
|
||||||
function() {
|
function() {
|
||||||
params = {'domain': c.params['domain'], 'path': c.params['path']};
|
params = {'domain': c.params['domain'], 'path': c.params['path']};
|
||||||
c.api('PUT', '/apps/' + c.params['app'] + '/changeurl', params, function(data) { // Call changeurl API
|
c.api('PUT', '/apps/' + c.params['app'] + '/changeurl', params, function(data) {
|
||||||
c.redirect_to('#/apps/'+ c.params['app']);
|
c.redirect_to('#/apps/'+ c.params['app']);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue