Commit c9c67752 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Adjust selection_url from person view and from get token.

parent 40bed426
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
gadget.getUrlFor({command: "change", options: {page: "slap_person_revoke_certificate"}}), gadget.getUrlFor({command: "change", options: {page: "slap_person_revoke_certificate"}}),
gadget.getUrlFor({command: "change", options: {page: "slap_person_request_certificate"}}), gadget.getUrlFor({command: "change", options: {page: "slap_person_request_certificate"}}),
gadget.getUrlFor({command: "change", options: {page: "slap_person_get_token"}}), gadget.getUrlFor({command: "change", options: {page: "slap_person_get_token"}}),
gadget.getUrlFor({command: 'history_previous'}) gadget.getUrlFor({command: "change", options: {page: "slapos"}})
]); ]);
}) })
.push(function (url_list) { .push(function (url_list) {
......
...@@ -87,8 +87,14 @@ ...@@ -87,8 +87,14 @@
}); });
}) })
.push(function () { .push(function () {
return RSVP.all([
gadget.getUrlFor({command: 'change', options: {page: "slap_ticket_list"}})
]);
})
.push(function (url_list) {
var header_dict = { var header_dict = {
page_title: "Your RSS Feed Link" page_title: "Your RSS Feed Link",
selection_url: url_list[0]
}; };
return gadget.updateHeader(header_dict); return gadget.updateHeader(header_dict);
}); });
......
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