discourse-user-card-directory/javascripts/discourse/components/user-card-directory-toggle.hbs

6 lines
221 B
Handlebars

{{d-button
icon=(if showingCards "th-list" "id-card")
action=(action "toggleCards")
title=(theme-prefix (if showingCards "show_table" "show_cards"))
class="btn-default open-edit-columns-btn toggle-cards-button"
}}