Skip to content

Commit

Permalink
Merge pull request #1468 from dudleycarr/fix-add-topic-pause-label
Browse files Browse the repository at this point in the history
nsqadmin: add paused label to topics within the node view.
  • Loading branch information
mreiferson committed Oct 30, 2023
2 parents 5cef35c + 6565440 commit e6e3f7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nsqadmin/static/build/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nsqadmin/static/build/main.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions nsqadmin/static/js/views/node.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<tr class="info">
<td colspan="3">
<button class="btn-link red tombstone-link" data-node="{{../name}}" data-topic="{{topic_name}}" style="padding: 0 6px; border: 0;">✘</button> {{topic_name}}
{{#if paused}}<span class="label label-primary">paused</span>{{/if}}
</td>
<td>
{{#if ../graph_active}}<a href="{{large_graph "topic" node topic_name "" "depth"}}"><img width="120" src="{{sparkline "topic" node topic_name "" "depth"}}"></a>{{/if}}
Expand Down

0 comments on commit e6e3f7c

Please sign in to comment.