Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

Commit

Permalink
change icons
Browse files Browse the repository at this point in the history
  • Loading branch information
issyrocks12 committed Apr 19, 2017
1 parent f995821 commit 31adac4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/forum/dist/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }));
Expand Down Expand Up @@ -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 }));
}
Expand Down
2 changes: 1 addition & 1 deletion js/forum/src/addStrikeControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}));
Expand Down
2 changes: 1 addition & 1 deletion js/forum/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}));
}
Expand Down

0 comments on commit 31adac4

Please sign in to comment.