Commit 31adac4b authored by issyrocks12's avatar issyrocks12

change icons

parent f995821c
......@@ -13,7 +13,7 @@ System.register('Reflar/UserManagement/addStrikeControls', ['flarum/extend', 'fl
if (!discussion.canStrike()) return;
items.add('serveStrike', [m(Button, {
icon: 'times',
icon: 'exclamation-triangle',
className: 'refar-usermanagement-strikeButton',
onclick: function onclick() {
app.modal.show(new StrikeModal({ post: post }));
......@@ -478,7 +478,7 @@ System.register('Reflar/UserManagement/main', ['flarum/app', 'flarum/extend', 'f
if (user.canViewStrike()) {
items.add('strikes', Button.component({
children: app.translator.trans('reflar-usermanagement.forum.user.controls.strike_button'),
icon: 'times',
icon: 'exclamation-triangle',
onclick: function onclick() {
app.modal.show(new ModStrikeModal({ user: user }));
}
......
......@@ -16,7 +16,7 @@ export default function() {
items.add('serveStrike', [
m(Button, {
icon: 'times',
icon: 'exclamation-triangle',
className: 'refar-usermanagement-strikeButton',
onclick: () => {
app.modal.show(new StrikeModal({post}));
......
......@@ -45,7 +45,7 @@ app.initializers.add('Reflar-User-Management', function(app) {
if (user.canViewStrike()) {
items.add('strikes', Button.component({
children: app.translator.trans('reflar-usermanagement.forum.user.controls.strike_button'),
icon: 'times',
icon: 'exclamation-triangle',
onclick: function() {
app.modal.show(new ModStrikeModal({user}));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment