1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +02:00

Add badges API + styles for discussions and users

This commit is contained in:
Toby Zerner
2015-03-05 12:07:16 +10:30
parent 98476757ae
commit 40b55fbc6f
10 changed files with 141 additions and 10 deletions

View File

@@ -0,0 +1,11 @@
import ActionButton from 'flarum/components/ui/action-button';
export default ActionButton.extend({
tagName: 'span',
classNames: ['badge'],
title: Ember.computed.alias('label'),
didInsertElement: function() {
this.$().tooltip();
}
});