mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 10:47:23 +00:00
Added a link to the create permission page from the permission list page
This commit is contained in:
parent
df0b24ed6f
commit
6cdb4e6635
@ -121,4 +121,9 @@ class PermissionManagement(params : (PermissionsJson, AccountJson, PermissionsUr
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
def addPermissionLink = {
|
||||
//TODO: Should generate this url instead of hardcode it
|
||||
"* [href]" #> {S.uri + "/create"}
|
||||
}
|
||||
}
|
||||
@ -869,3 +869,9 @@ a.otherAccountLinkForAlias{
|
||||
width: 400px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#add-permission {
|
||||
display: inline-block;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
@ -31,6 +31,7 @@ Berlin 13359, Germany
|
||||
<div class="lift:surround?with=default;at=content">
|
||||
|
||||
<div class="lift:PermissionManagement.accountInfo">Permission management for: <span class="account-label">Account</span></div>
|
||||
<a id="add-permission" href="#" class="lift:PermissionManagement.addPermissionLink">Add Permission</a>
|
||||
<div class="lift:PermissionManagement.manage">
|
||||
<div class="callback-script"></div>
|
||||
<table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user