Files
zulip/static/templates/muted_user_ui_row.hbs
jai2201 d6c00521b3 settings: Clean up muted_topics/users rendering logic.
This commit removes the unnecessary `data-list-widget` attribute
present in the <div> and <tbody> tag for muted_topics and muted_users table.

It became unnecessary/useless in 19cf6d0e04 and
then was renamed while still useless.

Also uses the correct variable name `muted_topic` and `muted_user`
instead of `muted_topics` and `muted_users` to render a item of their list
in DOM through Listwidget.
2022-02-25 17:33:11 -08:00

10 lines
304 B
Handlebars

{{#with muted_user}}
<tr data-user-id="{{user_id}}" data-user-name="{{user_name}}" data-date-muted="{{date_muted_str}}">
<td>{{user_name}}</td>
<td>{{date_muted_str}}</td>
<td class="actions">
<span><a class="settings-unmute-user">{{t "Unmute" }}</a></span>
</td>
</tr>
{{/with}}