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

Commit

Permalink
???
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrneDev committed Aug 8, 2018
1 parent e5cc63b commit 9c28317
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions js/admin/dist/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ System.register("Reflar/Gamification/components/SettingsPage", ["flarum/componen
children: app.translator.trans('reflar-gamification.admin.page.votes.auto_upvote'),
onchange: this.values.autoUpvotePosts,
className: 'votes-switch'
}), m('label', {}, app.translator.trans('reflar-gamification.admin.page.votes.points_title')), m('input', {
}), m('a', { href: "https://imgur.com/a/9aylQQL", style: "color: #000;" }, m('label', {}, app.translator.trans('reflar-gamification.admin.page.votes.points_title')), m('input', {
className: 'FormControl Ranks-default',
value: this.values.pointsPlaceholder() || '',
placeholder: app.translator.trans('reflar-gamification.admin.page.votes.points_placeholder') + '{points}',
oninput: m.withAttr('value', this.values.pointsPlaceholder)
}), m('legend', {}, app.translator.trans('reflar-gamification.admin.page.rankings.title')), Switch.component({
})), m('legend', {}, app.translator.trans('reflar-gamification.admin.page.rankings.title')), Switch.component({
state: this.values.customRankingImages() || false,
children: app.translator.trans('reflar-gamification.admin.page.rankings.enable'),
onchange: this.values.customRankingImages,
Expand Down
4 changes: 2 additions & 2 deletions js/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"devDependencies": {
"gulp": "^3.9.1",
"flarum-gulp": "^0.2.0"
"flarum-gulp": "^0.2.0",
"gulp": "^3.9.1"
}
}
3 changes: 2 additions & 1 deletion js/admin/src/components/SettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,14 @@ export default class SettingsPage extends Page {
onchange: this.values.autoUpvotePosts,
className: 'votes-switch'
}),
m('a', {href: "https://imgur.com/a/9aylQQL", style: "color: #000;"},
m('label', {}, app.translator.trans('reflar-gamification.admin.page.votes.points_title')),
m('input', {
className: 'FormControl Ranks-default',
value: this.values.pointsPlaceholder() || '',
placeholder: app.translator.trans('reflar-gamification.admin.page.votes.points_placeholder') + '{points}',
oninput: m.withAttr('value', this.values.pointsPlaceholder)
}),
})),
m('legend', {}, app.translator.trans('reflar-gamification.admin.page.rankings.title')),
Switch.component({
state: this.values.customRankingImages() || false,
Expand Down

0 comments on commit 9c28317

Please sign in to comment.