Add UI marker for exclusive queue

Fixes #459
This commit is contained in:
Luke Bakken 2017-08-04 14:18:52 -07:00
parent 388276c17a
commit c97e795127
2 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,9 @@ function args_to_features(obj) {
res.arguments[fmt_escape_html(k)] = fmt_escape_html(obj.arguments[k]);
}
}
if (obj.exclusive) {
res['exclusive'] = true;
}
if (obj.durable) {
res['durable'] = true;
}

View File

@ -26,6 +26,7 @@ var KNOWN_ARGS = {'alternate-exchange': {'short': 'AE', 'type': 'string'
// Things that are like arguments that we format the same way in listings.
var IMPLICIT_ARGS = {'durable': {'short': 'D', 'type': 'boolean'},
'auto-delete': {'short': 'AD', 'type': 'boolean'},
'exclusive': {'short': 'E', 'type': 'boolean'},
'internal': {'short': 'I', 'type': 'boolean'}};
// Both the above