Skip to content

Commit

Permalink
Add extensionsettings
Browse files Browse the repository at this point in the history
Merge pull request #13 from MichaelBelgium/settings
  • Loading branch information
MichaelBelgium authored Jan 18, 2020
2 parents 41a5dbd + 7dab408 commit 9903118
Show file tree
Hide file tree
Showing 15 changed files with 128 additions and 12 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@ If you would like to translate this extension to your language, make a PR in the
* Adds 1 new permission where people can (re)set the viewcount of a discussion (default to admins)

# Media
![image](http://puu.sh/ymLUg.png)

Set the view count:
Normal:
![image](https://i.imgur.com/ZrQZd1e.png)
Smaller screens:
![Imgur](https://i.imgur.com/es4NYHI.png)

![image 3](http://puu.sh/AIOet.png)
## Reset the view count

![Imgur](https://i.imgur.com/iVu92yT.png)

## Extension settings

![Imgur](https://i.imgur.com/sQqgKex.png)
1 change: 1 addition & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ function (Dispatcher $events) {
$events->subscribe(Listeners\AddDiscussionApiAttributes::class);
$events->subscribe(Listeners\AddPopularSort::class);
$events->subscribe(Listeners\SaveDiscussionFromModal::class);
$events->subscribe(Listeners\SettingsToForum::class);
}
];
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9903118

Please sign in to comment.