Skip to content

Commit c6b32a4

Browse files
committed
Add notice draft
1 parent 1e9e5d9 commit c6b32a4

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
@@ -937,8 +937,13 @@ async function processReferencePage() {
937937
undocumented = ' <span class="badge badge-danger">undocumented</span>';
938938
}
939939

940+
let notice = '';
941+
if (action['notice']) {
942+
notice = ' <p class="tx-primary" data-toggle="tooltip" data-placement="top" title="' + action['notice'] + '"><i data-feather="info"></i></p>';
943+
}
944+
940945
method_table_content += '<tr>\
941-
<td class="tx-medium" style="padding-left: 10px !important;"><a href="' + actionlink + '">' + action['action'] + undocumented + '</a></td>\
946+
<td class="tx-medium" style="padding-left: 10px !important;"><a href="' + actionlink + '">' + action['action'] + undocumented + '</a>' + notice + '</td>\
942947
<td class="tx-medium">' + template + '</td>\
943948
</tr>';
944949
}

0 commit comments

Comments
 (0)