summaryrefslogtreecommitdiffstats
path: root/base/tps/shared/webapps/tps/ui/index.html
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-04-10 22:51:22 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-04-17 13:31:57 -0400
commitf79bb45a68c542fd0647f9b84a090e05f30bb565 (patch)
treedb87ad0724c58671e7e09f6a378220874098eaed /base/tps/shared/webapps/tps/ui/index.html
parent7e58da6db8570e8472f5d76d0f50563f3c0e1970 (diff)
downloadpki-f79bb45a68c542fd0647f9b84a090e05f30bb565.tar.gz
pki-f79bb45a68c542fd0647f9b84a090e05f30bb565.tar.xz
pki-f79bb45a68c542fd0647f9b84a090e05f30bb565.zip
Fixed action menu in TPS UI.
The TPS UI has been modified to display the appropriate actions menu based on the roles of the user. TPS agent can only enable and disable profiles, and also approve or reject pending requests. TPS admin can only edit disabled profiles, then submit it for approval, or cancel the request. https://fedorahosted.org/pki/ticket/1292
Diffstat (limited to 'base/tps/shared/webapps/tps/ui/index.html')
-rw-r--r--base/tps/shared/webapps/tps/ui/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/tps/shared/webapps/tps/ui/index.html b/base/tps/shared/webapps/tps/ui/index.html
index 3bda3cb40..357ade514 100644
--- a/base/tps/shared/webapps/tps/ui/index.html
+++ b/base/tps/shared/webapps/tps/ui/index.html
@@ -217,7 +217,7 @@ $(function() {
});
router.route("profiles/:id", "profile", function(id) {
- new ConfigEntryPage({
+ new ProfilePage({
el: content,
url: "profile.html",
model: new ProfileModel({ id: id })
@@ -225,7 +225,7 @@ $(function() {
});
router.route("new-profile", "new-profile", function() {
- new ConfigEntryPage({
+ new ProfilePage({
el: content,
url: "profile.html",
model: new ProfileModel(),