Skip to content

Commit 91352e5

Browse files
committed
Add notice to initial action
1 parent c6b32a4 commit 91352e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

assets/js/aws.permissions.cloud.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -922,10 +922,15 @@ async function processReferencePage() {
922922
undocumented = ' <span class="badge badge-danger">undocumented</span>';
923923
}
924924

925+
let notice = '';
926+
if (first_action['notice']) {
927+
notice = ' <p class="tx-primary" data-toggle="tooltip" data-placement="top" title="' + action['notice'] + '"><i data-feather="info"></i></p>';
928+
}
929+
925930
method_table_content += '<tr id="' + iam_mapping_name_parts[0] + '_' + iam_mapping_name_parts[1] + '">\
926931
<td rowspan="' + rowspan + '" class="tx-medium"><span class="tx-color-03">' + iam_mapping_name_parts[0] + '.</span>' + iam_mapping_name_parts[1] + '</td>\
927932
<td rowspan="' + rowspan + '" class="tx-normal">' + shortDocs(iam_mapping_name, docs) + '</td>\
928-
<td class="tx-medium"><a href="' + actionlink + '">' + first_action['action'] + undocumented + '</a></td>\
933+
<td class="tx-medium"><a href="' + actionlink + '">' + first_action['action'] + undocumented + '</a>' + notice + '</td>\
929934
<td class="tx-medium">' + template + '</td>\
930935
</tr>';
931936

0 commit comments

Comments
 (0)